fix coding style

This commit is contained in:
rinsuki 2019-10-25 06:26:45 +09:00
parent cc7cc56abe
commit 9cc57cd011
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ export function launchServer(callbackSpawnedProcess: (p: childProcess.ChildProce
stdio: ['inherit', 'inherit', 'ipc'], stdio: ['inherit', 'inherit', 'ipc'],
env: { NODE_ENV: 'test', PATH: process.env.PATH } env: { NODE_ENV: 'test', PATH: process.env.PATH }
}); });
callbackSpawnedProcess(p) callbackSpawnedProcess(p);
p.on('message', message => { p.on('message', message => {
if (message === 'ok') moreProcess().then(() => done()).catch(e => done(e)); if (message === 'ok') moreProcess().then(() => done()).catch(e => done(e));
}); });