fix(docs-infra): boolean options default value is incorrect when it's undefined (#27024)

In the CLI when it's undefined it can mean `false`, or sometimes it will be overwritten by a runtime value.

PR Close #27024
This commit is contained in:
Alan Agius 2018-11-09 12:27:28 +01:00 committed by Jason Aden
parent 8e75a40735
commit d940b5541f
1 changed files with 0 additions and 5 deletions

View File

@ -30,11 +30,6 @@ function processOptions(container, options) {
container.namedOptions = [];
options.forEach(option => {
if (option.type === 'boolean' && option.default === undefined) {
option.default = false;
}
// Ignore any hidden options
if (option.hidden) { return; }