Skip to content

Commit

Permalink
Fix bug where output from settings wasn’t honoured
Browse files Browse the repository at this point in the history
If `output` is given (has a type of `boolean`) in the configuration
for `engine()`, it should overwrite configuration files.  Previously,
this didn’t work.
  • Loading branch information
wooorm committed Jul 20, 2016
1 parent 429976c commit 4d12640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function run(options, callback) {
/* Output. */
settings.streamOut = options.streamOut || process.stdout;
settings.streamError = options.streamError || process.stderr;
settings.output = options.output || undefined;
settings.output = options.output;
settings.out = options.out;

if (settings.output && settings.out) {
Expand Down

0 comments on commit 4d12640

Please sign in to comment.