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
@@ -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} ']')`
)