summary refs log tree commit diff stats
path: root/compiler/nodejs.nim
diff options
context:
space:
mode:
authorJuan Carlos <juancarlospaco@gmail.com>2019-07-01 06:59:02 -0300
committerAndreas Rumpf <rumpf_a@web.de>2019-07-01 11:59:02 +0200
commitd7a7662a7fa24a05f7b99b21969664d027e0fe53 (patch)
treeec700f1ed12eb6958e720fd7cac2eefc52f93da4 /compiler/nodejs.nim
parentdd39b11b139f5d7b94249e011698f453857ea92b (diff)
downloadNim-d7a7662a7fa24a05f7b99b21969664d027e0fe53.tar.gz
Remove IO.js compat (long dead vanished project,superseed by NodeJS) (#11627)
Diffstat (limited to 'compiler/nodejs.nim')
-rw-r--r--compiler/nodejs.nim6
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/nodejs.nim b/compiler/nodejs.nim
index eaf99729d..781035bb7 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")
-