Skip to content
New issue

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

[parser] combining aliases in ng new don't work #16614

Open
johnpapa opened this issue Jan 9, 2020 · 0 comments
Open

[parser] combining aliases in ng new don't work #16614

johnpapa opened this issue Jan 9, 2020 · 0 comments

Comments

@johnpapa
Copy link
Contributor

@johnpapa johnpapa commented Jan 9, 2020

🐞 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, the previous version in which this bug was not present was: ....

Yes - I can't recall when it worked last though

Description

A clear and concise description of the problem...

When combining multiple aliases such as -s and -t, they don't all work. It seems only the first one is applied.

🔬 Minimal Reproduction

ng new app01 --style scss -st --routing -d 

🔥 Exception or Error

Notice the output (reduced to show the component only)


...
CREATE app01/src/app/app.module.ts (393 bytes)
CREATE app01/src/app/app.component.scss (0 bytes) 👈
CREATE app01/src/app/app.component.spec.ts (1095 bytes)
CREATE app01/src/app/app.component.ts (1505 bytes)
...

This should have created app.component.ts and the spec, only.

But if I use the command ng new app01 --style scss -s -t --routing -d I do get the desired outcome (because they are separated

@ngbot ngbot bot added this to the needsTriage milestone Jan 9, 2020
@ngbot ngbot bot modified the milestones: needsTriage, Backlog Jan 9, 2020
@alan-agius4 alan-agius4 changed the title combining aliases in ng new don't work [parser] combining aliases in ng new don't work Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.