diff options
author | partouf <partouf@gmail.com> | 2022-05-25 16:56:35 +0200 |
---|---|---|
committer | partouf <partouf@gmail.com> | 2022-05-25 16:56:35 +0200 |
commit | f76cc542261d908517772d487ab5f4b08b5a2ae7 (patch) | |
tree | f21f6267b302530e1694d07b6c917562e2568885 /lib/compilers/ada.js | |
parent | d47191c9e9b4f6a402ce084d2d6645f60375f49e (diff) | |
download | compiler-explorer-f76cc542261d908517772d487ab5f4b08b5a2ae7.tar.gz compiler-explorer-f76cc542261d908517772d487ab5f4b08b5a2ae7.zip |
formatfixgh-3093
Diffstat (limited to 'lib/compilers/ada.js')
-rw-r--r-- | lib/compilers/ada.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/compilers/ada.js b/lib/compilers/ada.js index cfd5a3940..271ae2b6f 100644 --- a/lib/compilers/ada.js +++ b/lib/compilers/ada.js @@ -24,6 +24,7 @@ // POSSIBILITY OF SUCH DAMAGE. import path from 'path'; + import fs from 'fs-extra'; import {BaseCompiler} from '../base-compiler'; @@ -104,9 +105,9 @@ export class AdaCompiler extends BaseCompiler { compiler_opts.push('-o', outputFilename); if (this.compiler.intelAsm && filters.intel) { - this.compiler.intelAsm.split(' ').forEach((opt) => { + for (const opt of this.compiler.intelAsm.split(' ')) { gnatmake_opts.push(opt); - }); + } } } else { gnatmake_opts.push('-o', outputFilename); |