fix: order of operations #448

This commit is contained in:
calebboyd
2018-02-16 22:26:42 -06:00
parent 71e77052e5
commit 66afccc2e2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 <craig.j.condon@gmail.com> (http://crcn.io)",
"Jared Allard <jaredallard@outlook.com>",
+1 -1
View File
@@ -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} ']')`
)