diff options
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); |