cli: regression (1.28) preventing from setting options from a terminal on windows

This commit is contained in:
jean-emmanuel 2025-05-24 13:22:29 +02:00
parent 54b7bf7a63
commit 84cba42d86
2 changed files with 2 additions and 1 deletions

View file

@ -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