server: lint
This commit is contained in:
parent
f55e5ba49a
commit
c375386760
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ if (settings.cli) {
|
|||
launcher.webContents.send('server-started')
|
||||
|
||||
if (!settings.read('no-gui')) {
|
||||
function cb(data) {
|
||||
var cb = (data)=>{
|
||||
if (data.indexOf('Server started') > -1) {
|
||||
global.clientWindows.push(openClient())
|
||||
global.serverProcess.stdout.off('data', cb)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue