Skip to content

Commit 983f393

Browse files
committed
Cleanup
1 parent 00bf89f commit 983f393

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if (process.env.NETPLAY_DEV) {
3737
dev = config.dev;
3838
}
3939

40-
if(argv.h || argv._.includes('help')){
40+
if (argv.h || (argv._ && argv._.includes('help'))) {
4141
console.log("Usage: npm start -- [-p port] [-a password]");
4242
process.exit();
4343
}

0 commit comments

Comments
 (0)