From d7a7662a7fa24a05f7b99b21969664d027e0fe53 Mon Sep 17 00:00:00 2001 From: Juan Carlos Date: Mon, 1 Jul 2019 06:59:02 -0300 Subject: [PATCH] Remove IO.js compat (long dead vanished project,superseed by NodeJS) (#11627) --- compiler/nodejs.nim | 6 ++---- 1 file 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") -