chore: fix minor script warnings (#25575)

This commit is contained in:
Charles Kerr 2020-09-23 15:21:34 -05:00 committed by GitHub
parent 353c63e47a
commit 515e85079f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 15 deletions

View file

@ -2,7 +2,7 @@
process.throwDeprecation = false;
const electron = require('electron');
const { app, BrowserWindow, dialog, ipcMain, protocol, webContents, session } = electron;
const { app, BrowserWindow, dialog, ipcMain, session } = electron;
try {
require('fs').rmdirSync(app.getPath('userData'), { recursive: true });