diff --git a/package.json b/package.json index b8d11a0..0a554e8 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "nexe", "description": "Create a single executable out of your Node.js application", "license": "MIT", - "version": "2.0.0-rc.24", + "version": "2.0.0-rc.25", "contributors": [ "Craig Condon (http://crcn.io)", "Jared Allard ", diff --git a/src/patches/disable-node-cli.ts b/src/patches/disable-node-cli.ts index 3d5b4f5..6376fd0 100644 --- a/src/patches/disable-node-cli.ts +++ b/src/patches/disable-node-cli.ts @@ -12,7 +12,7 @@ export default async function disableNodeCli(compiler: NexeCompiler, next: () => `${nodeccMarker} '-'`, // allow NODE_OPTIONS, introduced in 8.0 parseInt(compiler.target.version.split('.')[0]) >= 8 - ? `(${nodeccMarker} is_env ? '-' : ']')` + ? `(${nodeccMarker} (is_env ? '-' : ']'))` : `(${nodeccMarker} ']')` )