cli: regression (1.28) preventing from setting options from a terminal on windows
This commit is contained in:
parent
54b7bf7a63
commit
84cba42d86
2 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ var path = require('path'),
|
|||
|
||||
// rmeove all args before the first actual cli arg
|
||||
while (argv.length) {
|
||||
if (argv[0][0] != '-' || argv[0][0] == '--') {
|
||||
if (argv[0][0] != '-' || argv[0] == '--') {
|
||||
argv.splice(0, 1)
|
||||
} else if (argv[0][0] == '-' ) {
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue