-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Description
🐞 Bug report
Command (mark with an x
)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- xi18n
- run
- config
- help
- version
- doc
Is this a regression?
Yes
Description
Using angular CLI to generate a guard prompts twice for
? Which interfaces would you like to implement? CanActivate
? Which interfaces would you like to implement? CanActivate
🔬 Minimal Reproduction
> npx @angular/cli@11.0.0-next.6 new admin-console --strict true --routing true --style css
> cd admin-console
> yarn ng generate guard guards/oauth/auth-oauth
🔥 Exception or Error
No exception
🌍 Your Environment
$ ng version
Angular CLI: 11.0.0-next.6
Node: 14.13.1
OS: darwin x64
Angular: 11.0.0-next.5
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1100.0-next.6
@angular-devkit/build-angular 0.1100.0-next.6
@angular-devkit/core 11.0.0-next.6
@angular-devkit/schematics 11.0.0-next.6
@angular/cli 11.0.0-next.6
@schematics/angular 11.0.0-next.6
@schematics/update 0.1100.0-next.6
rxjs 6.6.3
typescript 4.0.3
Anything else relevant?