Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
appease travisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
razorman8669 committed Oct 10, 2020
1 parent 6dbe81b commit af0a08b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/ndd_service.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,16 @@ class NddService {
const pipeName = `node-ndb.${process.pid}.sock`;
this._pipe = path.join(pipePrefix, pipeName);
const server = net.createServer(socket => {
let chunks = [];
const chunks = [];
socket.on('data', async d => {
chunks.push(d)
chunks.push(d);
});
socket.on('end', async () => {
const data = Buffer.concat(chunks);
const runSession = await this._startSession(JSON.parse(data), frontend);
socket.write('run');
runSession();
})
});
socket.on('error', e => caughtErrorDebug(e));
}).listen(this._pipe);
server.unref();
Expand Down

0 comments on commit af0a08b

Please sign in to comment.