diff options
Diffstat (limited to 'compiler/nodejs.nim')
-rw-r--r-- | compiler/nodejs.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/nodejs.nim b/compiler/nodejs.nim index 283643e8d..9753e1c99 100644 --- a/compiler/nodejs.nim +++ b/compiler/nodejs.nim @@ -1,4 +1,4 @@ -import os +import std/os proc findNodeJs*(): string {.inline.} = ## Find NodeJS executable and return it as a string. @@ -7,4 +7,4 @@ proc findNodeJs*(): string {.inline.} = result = findExe("node") if result.len == 0: echo "Please install NodeJS first, see https://nodejs.org/en/download" - raise newException(IOError, "NodeJS not found in PATH: " & result) + raise newException(IOError, "NodeJS not found in PATH") |