Skip to content

Commit

Permalink
fixed some jshint problems
Browse files Browse the repository at this point in the history
  • Loading branch information
beatfactor committed Dec 5, 2017
1 parent c3418c5 commit d30a292
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/api/client-commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ module.exports = function(client) {

if (callback) {
callback.call(self, isAvailable);
}
}
});
}

Expand Down
4 changes: 2 additions & 2 deletions lib/runner/cli/clirunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ CliRunner.prototype = {
switch(typeof target[key]) {
case 'object':
this.replaceEnvVariables(target[key]);
break;
break;
case 'string':
target[key] = target[key].replace(/\$\{(\w+)\}/g, function(match, varName) {
return process.env[varName] || '${' + varName + '}';
});
break;
break;
}
}

Expand Down

0 comments on commit d30a292

Please sign in to comment.