Skip to content

Commit

Permalink
missed output configuration override (#1411)
Browse files Browse the repository at this point in the history
  • Loading branch information
cravler authored Dec 5, 2020
1 parent 09f277a commit f2f21f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,8 @@ class Command extends EventEmitter {
}
if (opts.isDefault) this._defaultCommandName = cmd._name;

cmd._outputConfiguration = this._outputConfiguration;

cmd._hidden = !!(opts.noHelp || opts.hidden); // noHelp is deprecated old name for hidden
cmd._hasHelpOption = this._hasHelpOption;
cmd._helpFlags = this._helpFlags;
Expand Down

0 comments on commit f2f21f1

Please sign in to comment.