We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84b5965 commit d8ed389Copy full SHA for d8ed389
packages/@angular/cli/tasks/schematic-get-options.ts
@@ -34,7 +34,6 @@ export default Task.extend({
34
const keys = Object.keys(properties);
35
const availableOptions = keys
36
.map(key => ({...properties[key], ...{name: stringUtils.dasherize(key)}}))
37
- .filter(opt => opt.visible !== false)
38
.map(opt => {
39
let type;
40
const schematicType = opt.type;
@@ -70,7 +69,8 @@ export default Task.extend({
70
69
type,
71
schematicType,
72
default: undefined, // do not carry over schematics defaults
73
- schematicDefault
+ schematicDefault,
+ hidden: opt.visible === false,
74
};
75
})
76
.filter(x => x);
0 commit comments