fix code formatting

This commit is contained in:
Subramanian Venkatesan 2018-09-12 11:50:20 +05:30
parent 1a756e8a05
commit b2d6421ea6
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}