Fix index increment

This commit is contained in:
Kevin Jose Martin 2016-02-11 15:41:36 -05:00
parent 6d2ad5ae58
commit dbb4e21684

View file

@ -134,7 +134,7 @@ app.commandLine.appendSwitch('enable-npapi');
// Add other command line switches
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];
if (typeof option === 'string') {