We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac OSX Sierra 10.12.3
@angular/cli: 1.0.0-rc.1 node: 6.9.1 os: darwin x64 @angular/common: 2.4.9 @angular/compiler: 2.4.9 @angular/core: 2.4.9 @angular/forms: 2.4.9 @angular/http: 2.4.9 @angular/platform-browser: 2.4.9 @angular/platform-browser-dynamic: 2.4.9 @angular/router: 3.4.9 @angular/cli: 1.0.0-rc.1 @angular/compiler-cli: 2.4.9
ng g m foo ng g m foo --flat ng g m foo --flat true ng g m foo --flat false
These all identically output
create src/app/foo/foo.module.ts
I would expect that --flat false would be the default (e.g. ng g m foo) and that to make it flat we would need ng g m foo --flat
--flat false
ng g m foo
ng g m foo --flat
The text was updated successfully, but these errors were encountered:
fix(@angular/cli): obey the flat option when generating modules
103de02
Fixes angular#5373
fix(@angular/cli): obey the flat option when generating modules (#5411)
0fe1949
Fixes #5373
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
OS?
Mac OSX Sierra 10.12.3
Versions.
@angular/cli: 1.0.0-rc.1
node: 6.9.1
os: darwin x64
@angular/common: 2.4.9
@angular/compiler: 2.4.9
@angular/core: 2.4.9
@angular/forms: 2.4.9
@angular/http: 2.4.9
@angular/platform-browser: 2.4.9
@angular/platform-browser-dynamic: 2.4.9
@angular/router: 3.4.9
@angular/cli: 1.0.0-rc.1
@angular/compiler-cli: 2.4.9
Repro steps.
These all identically output
create src/app/foo/foo.module.ts
I would expect that
--flat false
would be the default (e.g.ng g m foo
) and that to make it flat we would needng g m foo --flat
The text was updated successfully, but these errors were encountered: