chore: remove unused code from our js scripts (#25419)

This commit is contained in:
Charles Kerr 2020-09-14 12:22:13 -05:00 committed by GitHub
parent bc9816b206
commit 7f885bd266
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 8 deletions

View file

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