added suggested fixes

This commit is contained in:
Simon Hafner 2015-01-27 13:04:27 -06:00
commit 842c7f67ca
2 changed files with 1 additions and 1 deletions

6
lib/pure/nodejs.nim Normal file
View file

@ -0,0 +1,6 @@
import os
proc findNodeJs*(): string =
result = findExe("nodejs")
if result == "":
result = findExe("node")