diff options
Diffstat (limited to 'compiler/nimrod.nim')
-rwxr-xr-x | compiler/nimrod.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim index 3666046ea..3fa80cebb 100755 --- a/compiler/nimrod.nim +++ b/compiler/nimrod.nim @@ -60,7 +60,7 @@ proc HandleCmdLine() = if gCmd == cmdRun: tccgen.run() if optRun in gGlobalOptions: - if gCmd == cmdCompileToEcmaScript: + if gCmd == cmdCompileToJS: var ex = quoteIfContainsWhite( completeCFilePath(changeFileExt(gProjectFull, "js").prependCurDir)) execExternalProgram("node " & ex & ' ' & service.arguments) |