Skip to content

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

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

Activity

  1. added this to the needsTriage milestone on Jan 9, 2020
  2. added
    freq1: lowOnly reported by a handful of users who observe it rarely
    on Jan 9, 2020
  3. modified the milestones: needsTriage, Backlog on Jan 9, 2020
  4. changed the title [-]combining aliases in ng new don't work [/-] [+][parser] combining aliases in ng new don't work [/+] on Jan 9, 2020
  5. added a commit that references this issue on Mar 9, 2022
    2e04931
  6. angular-automatic-lock-bot commented on Apr 9, 2022

    @angular-automatic-lock-bot

    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.

  7. locked and limited conversation to collaborators on Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions