We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00bf89f commit 983f393Copy full SHA for 983f393
1 file changed
index.js
@@ -37,7 +37,7 @@ if (process.env.NETPLAY_DEV) {
37
dev = config.dev;
38
}
39
40
-if(argv.h || argv._.includes('help')){
+if (argv.h || (argv._ && argv._.includes('help'))) {
41
console.log("Usage: npm start -- [-p port] [-a password]");
42
process.exit();
43
0 commit comments