Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 9fa7656

Browse files
authored
fix(update-ns-webpack): make it possible to call as executable (#347)
1 parent 6e63e3c commit 9fa7656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: bin/update-ns-webpack

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const update = require("../verify/update");
44

5-
const { original: npmArgs = [] } = JSON.parse(process.env.npm_config_argv || {});
5+
const { original: npmArgs = [] } = JSON.parse(process.env.npm_config_argv || "{}");
66
const [, , ...processArgs ] = process.argv;
77

88
const flags = [ ...npmArgs, ...processArgs ]

0 commit comments

Comments
 (0)