mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-30 03:03:57 +00:00
Move lib/pure/nodejs to compiler/nodejs. Ref #2017.
This commit is contained in:
6
compiler/nodejs.nim
Normal file
6
compiler/nodejs.nim
Normal file
@@ -0,0 +1,6 @@
|
||||
import os
|
||||
|
||||
proc findNodeJs*(): string =
|
||||
result = findExe("nodejs")
|
||||
if result == "":
|
||||
result = findExe("node")
|
||||
Reference in New Issue
Block a user