diff options
Diffstat (limited to 'lib/compilers/nim.js')
-rw-r--r-- | lib/compilers/nim.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/nim.js b/lib/compilers/nim.js index 0b818159f..75e6e63c4 100644 --- a/lib/compilers/nim.js +++ b/lib/compilers/nim.js @@ -55,9 +55,9 @@ class NimCompiler extends BaseCompiler { } filterUserOptions(userOptions) { - //If none of the allowed commands is present in userOptions compile to C++ + //If none of the allowed commands is present in userOptions add 'compile' command if (_.intersection(userOptions, NimCommands).length === 0) { - userOptions.unshift("compileToCpp"); + userOptions.unshift("compile"); } return userOptions.filter(option => !['--run', '-r'].includes(option)); |