fix test --debug after electron adoption

This commit is contained in:
Johannes Rieken
2018-04-03 19:51:27 +02:00
parent 6ef45d9332
commit 3bc2728340
+1 -1
View File
@@ -132,7 +132,7 @@ app.on('ready', () => {
win.webContents.on('did-finish-load', () => {
if (argv.debug) {
win.show();
win.webContents.openDevTools('right');
win.webContents.openDevTools({ mode: 'right' });
}
win.webContents.send('run', argv);
});