mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
style: make linter happy
This commit is contained in:
@@ -10,8 +10,8 @@ process.on('unhandledRejection', (reason) => {
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
app.on('browser-window-created', (ev, window) => {
|
||||
window.webContents.once('did-frame-navigate', (ev, url) => {
|
||||
app.on('browser-window-created', (_, window) => {
|
||||
window.webContents.once('did-frame-navigate', (__, ___) => {
|
||||
process.exit(0);
|
||||
});
|
||||
});
|
||||
@@ -19,4 +19,4 @@ app.on('browser-window-created', (ev, window) => {
|
||||
app.whenReady().then(() => {
|
||||
const win = new BrowserWindow({ show: false });
|
||||
win.loadFile('index.html');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user