diff options
author | bastien penavayre <bastien.penavayre.ext@mappy.com> | 2019-12-26 23:59:20 +0100 |
---|---|---|
committer | bastien penavayre <bastien.penavayre.ext@mappy.com> | 2019-12-26 23:59:20 +0100 |
commit | 2edc91cefbb4bc7761cb727837f1cce7c2ecda0d (patch) | |
tree | 7381058675730c448e08a03ae7423dd25b525dc8 /lib/compilers/nim.js | |
parent | 3c309a2a378158bab8c21d35299fef8b37e7c236 (diff) | |
download | compiler-explorer-2edc91cefbb4bc7761cb727837f1cce7c2ecda0d.tar.gz compiler-explorer-2edc91cefbb4bc7761cb727837f1cce7c2ecda0d.zip |
Nim add set default command as compile instead of compileToCpp
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)); |