summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--compiler/nim.nim2
-rw-r--r--lib/pure/nodejs.nim (renamed from lib/core/nodejs.nim)0
2 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nim.nim b/compiler/nim.nim
index 553c4635f..c420f6f30 100644
--- a/compiler/nim.nim
+++ b/compiler/nim.nim
@@ -68,7 +68,7 @@ proc handleCmdLine() =
           else:
             ex = quoteShell(
               completeCFilePath(changeFileExt(gProjectFull, "js").prependCurDir))
-          execExternalProgram(findNodeJs & " " & ex & ' ' & commands.arguments)
+          execExternalProgram(findNodeJs() & " " & ex & ' ' & commands.arguments)
         else:
           var binPath: string
           if options.outFile.len > 0:
diff --git a/lib/core/nodejs.nim b/lib/pure/nodejs.nim
index e2b79df19..e2b79df19 100644
--- a/lib/core/nodejs.nim
+++ b/lib/pure/nodejs.nim