From b2d6421ea6df5d30ad155f739b0b4b85191a9acf Mon Sep 17 00:00:00 2001 From: Subramanian Venkatesan Date: Wed, 12 Sep 2018 11:50:20 +0530 Subject: [PATCH] fix code formatting --- lib/utils/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/utils.js b/lib/utils/utils.js index 8eaf99a46..0b4412d82 100644 --- a/lib/utils/utils.js +++ b/lib/utils/utils.js @@ -131,11 +131,11 @@ function pingEndpoint(host, port, type, protocol, origin, callback) { function runCmd(cmd, options, callback) { const shelljs = require('shelljs'); - options = Object.assign({silent: true,exitOnError: true, async: true}, options || {}); + options = Object.assign({silent: true, exitOnError: true, async: true}, options || {}); const outputToConsole = !options.silent; options.silent = true; let result = shelljs.exec(cmd, options, function (code, stdout) { - if(code !==0) { + if(code !== 0) { if (options.exitOnError) { return exit(); }