From d7ea8588c5272e805693325bb79fc615af291230 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) (cherry picked from commit d7a7662a7fa24a05f7b99b21969664d027e0fe53) --- compiler/nodejs.nim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/compiler/nodejs.nim b/compiler/nodejs.nim index eaf99729d8..781035bb76 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") -