Fix index increment
This commit is contained in:
parent
6d2ad5ae58
commit
dbb4e21684
1 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ app.commandLine.appendSwitch('enable-npapi');
|
||||||
|
|
||||||
// Add other command line switches
|
// Add other command line switches
|
||||||
if (packageJson.commandLineSwitches) {
|
if (packageJson.commandLineSwitches) {
|
||||||
for (let i = 0; i < packageJson.commandLineSwitches.length; ++i) {
|
for (let i = 0; i < packageJson.commandLineSwitches.length; i++) {
|
||||||
const option = packageJson.commandLineSwitches[i];
|
const option = packageJson.commandLineSwitches[i];
|
||||||
|
|
||||||
if (typeof option === 'string') {
|
if (typeof option === 'string') {
|
||||||
|
|
Loading…
Reference in a new issue