From 842c7f67ca06266d99577a31718ae1084cde033d Mon Sep 17 00:00:00 2001 From: Simon Hafner Date: Tue, 27 Jan 2015 13:04:27 -0600 Subject: [PATCH] added suggested fixes --- compiler/nim.nim | 2 +- lib/{core => pure}/nodejs.nim | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename lib/{core => pure}/nodejs.nim (100%) diff --git a/compiler/nim.nim b/compiler/nim.nim index 553c4635f5..c420f6f303 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 similarity index 100% rename from lib/core/nodejs.nim rename to lib/pure/nodejs.nim