server: lint

This commit is contained in:
bordun 2020-05-14 14:13:40 +02:00
parent f55e5ba49a
commit c375386760

View file

@ -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)