Skip to content

Commit

Permalink
having output_folder in settings be false disables output
Browse files Browse the repository at this point in the history
  • Loading branch information
Ola Holmström committed May 26, 2014
1 parent 488c4ec commit 2d5c517
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/_clirunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ CliRunner.prototype = {
* @returns {CliRunner}
*/
setOutputFolder : function() {
this.output_folder = this.cli.command('output').isDefault(this.argv.o) && this.settings.output_folder || this.argv.o;
this.output_folder = this.settings.output_folder === false ?
false : (this.cli.command('output').isDefault(this.argv.o)
&& this.settings.output_folder || this.argv.o);
return this;
},

Expand Down

0 comments on commit 2d5c517

Please sign in to comment.