index: one more tiny printing change

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2019-01-12 15:52:41 +08:00
parent 5a8f7b0cd7
commit 788485a7e2

View File

@ -146,7 +146,7 @@ io.on('connection', (socket) => {
if (createHash(data.secret) === data.socketId) {
data.secret = null;
socket.broadcast.emit(data.socketId, data);
console.log(`${progname} master connected on ${green}data.socketId${reset}`);
console.log(`${progname} master connected on ${green}${data.socketId}${reset}`);
}
else {
console.log(`${progname} given secret ${red}${data.secret}${reset} doesn't match`);