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

@ -132,9 +132,9 @@ if (packageJson.desktopName != null) {
// Chrome 42 disables NPAPI plugins by default, reenable them here // Chrome 42 disables NPAPI plugins by default, reenable them here
app.commandLine.appendSwitch('enable-npapi'); app.commandLine.appendSwitch('enable-npapi');
// Add othercommand 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') {