mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
Remove IO.js compat (long dead vanished project,superseed by NodeJS) (#11627)
(cherry picked from commit d7a7662a7f)
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user