Remove standard linter warnings
This commit is contained in:
parent
4afa32a7bb
commit
197ec98800
14 changed files with 87 additions and 94 deletions
6
spec/fixtures/api/relaunch/main.js
vendored
6
spec/fixtures/api/relaunch/main.js
vendored
|
@ -1,9 +1,7 @@
|
|||
const {app, dialog} = require('electron')
|
||||
const {app} = require('electron')
|
||||
const net = require('net')
|
||||
|
||||
const socketPath = process.platform === 'win32' ?
|
||||
'\\\\.\\pipe\\electron-app-relaunch' :
|
||||
'/tmp/electron-app-relaunch'
|
||||
const socketPath = process.platform === 'win32' ? '\\\\.\\pipe\\electron-app-relaunch' : '/tmp/electron-app-relaunch'
|
||||
|
||||
process.on('uncaughtException', () => {
|
||||
app.exit(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue