Skip to content

Commit

Permalink
indentation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
beatfactor committed May 24, 2014
1 parent 70c229b commit 4bc9874
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions bin/_clirunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ CliRunner.prototype = {
target = target || this.settings;
for (var key in target) {
switch(typeof target[key]) {
case 'object':
this.replaceEnvVariables(target[key]);
break;
case 'string':
target[key] = target[key].replace(/\$\{(\w+)\}/g, function(match, varName) {
return process.env[varName] || '${' + varName + '}';
});
break;
case 'object':
this.replaceEnvVariables(target[key]);
break;
case 'string':
target[key] = target[key].replace(/\$\{(\w+)\}/g, function(match, varName) {
return process.env[varName] || '${' + varName + '}';
});
break;
}
}

Expand Down Expand Up @@ -239,7 +239,6 @@ CliRunner.prototype = {

/**
* Starts the test runner
* @param source
* @returns {CliRunner}
*/
runTests : function() {
Expand Down

0 comments on commit 4bc9874

Please sign in to comment.