From 66afccc2e2ca5c493b77beef14c710d896361dac Mon Sep 17 00:00:00 2001 From: calebboyd Date: Fri, 16 Feb 2018 22:26:42 -0600 Subject: [PATCH] fix: order of operations #448 --- package.json | 2 +- src/patches/disable-node-cli.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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} ']')` )