From b44fbc1e4fdb3277b43062fc8c923b75a4df120b Mon Sep 17 00:00:00 2001 From: Jason Date: Sat, 26 May 2018 19:36:46 +0100 Subject: [PATCH] add and lint clientonly --- Gruntfile.js | 1 + clientonly/index.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 8d069c82..3bc8aeb1 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -11,6 +11,7 @@ module.exports = function(grunt) { "modules/default/*.js", "modules/default/*/*.js", "serveronly/*.js", + "clientonly/*.js", "*.js", "tests/**/*.js", "!modules/default/alert/notificationFx.js", diff --git a/clientonly/index.js b/clientonly/index.js index 72495504..28a45029 100644 --- a/clientonly/index.js +++ b/clientonly/index.js @@ -88,7 +88,7 @@ process.stdout.write(`Client: ${err}`); }); - child.on('close', (code) => { + child.on("close", (code) => { if (code != 0) { console.log(`There something wrong. The clientonly is not running code ${code}`); }