Remove IO.js compat (long dead vanished project,superseed by NodeJS) (#11627)

This commit is contained in:
Juan Carlos
2019-07-01 06:59:02 -03:00
committed by Andreas Rumpf
parent dd39b11b13
commit d7a7662a7f

View File

@@ -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")