Skip to content

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

Closed
@johnpapa

Description

@johnpapa

🐞 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions