chore: update to standard 12
This commit is contained in:
parent
9e85bdb02c
commit
558fff69e7
198 changed files with 4455 additions and 2940 deletions
4
spec/fixtures/api/relaunch/main.js
vendored
4
spec/fixtures/api/relaunch/main.js
vendored
|
@ -1,4 +1,4 @@
|
|||
const {app} = require('electron')
|
||||
const { app } = require('electron')
|
||||
const net = require('net')
|
||||
|
||||
const socketPath = process.platform === 'win32' ? '\\\\.\\pipe\\electron-app-relaunch' : '/tmp/electron-app-relaunch'
|
||||
|
@ -18,6 +18,6 @@ app.once('ready', () => {
|
|||
})
|
||||
|
||||
if (lastArg !== '--second') {
|
||||
app.relaunch({args: process.argv.slice(1).concat('--second')})
|
||||
app.relaunch({ args: process.argv.slice(1).concat('--second') })
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue