summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorSimon Hafner <hafnersimon@gmail.com>2015-01-27 13:04:27 -0600
committerSimon Hafner <hafnersimon@gmail.com>2015-01-27 13:04:27 -0600
commit842c7f67ca06266d99577a31718ae1084cde033d (patch)
tree10908f8437ddb97c0c16e8a984570f470cb01408 /compiler
parent2beaa7a2da40e336b9606949ba65e0631c775767 (diff)
downloadNim-842c7f67ca06266d99577a31718ae1084cde033d.tar.gz
added suggested fixes
Diffstat (limited to 'compiler')
-rw-r--r--compiler/nim.nim2
1 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: