Merge pull request #10900 from electron/issue-10877
fix: Ensure that -r isn’t considered interactive
This commit is contained in:
commit
8d1ff1c59a
1 changed files with 1 additions and 2 deletions
|
@ -27,8 +27,7 @@ for (let i = 0; i < argv.length; i++) {
|
|||
} else if (argv[i] === '--default' || argv[i] === '-d') {
|
||||
option.default = true
|
||||
break
|
||||
} else if (argv[i] === '--interactive' || argv[i] === '-i' ||
|
||||
argv[i] === '-repl' || argv[i] === '-r') {
|
||||
} else if (argv[i] === '--interactive' || argv[i] === '-i' || argv[i] === '-repl') {
|
||||
option.interactive = true
|
||||
} else if (argv[i] === '--test-type=webdriver') {
|
||||
option.webdriver = true
|
||||
|
|
Loading…
Reference in a new issue