diff --git a/compiler/nodejs.nim b/compiler/nodejs.nim index eaf99729d8..781035bb76 100644 --- a/compiler/nodejs.nim +++ b/compiler/nodejs.nim @@ -1,9 +1,7 @@ import os -proc findNodeJs*(): string = +proc findNodeJs*(): string {.inline.} = + ## Find NodeJS executable and return it as a string. result = findExe("nodejs") if result == "": result = findExe("node") - if result == "": - result = findExe("iojs") -