Skip to content

ng new has skip-git, but can not use it. #10802

Closed
@heyan12127

Description

@heyan12127

Versions

ng -v
Angular CLI: 6.0.0
Node: 8.11.1
OS: linux x64
Angular: 
... 

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.6.0
@angular-devkit/core         0.6.0
@angular-devkit/schematics   0.6.0
@schematics/angular          0.6.0
@schematics/update           0.6.0
rxjs                         6.1.0
typescript                   2.7.2

Repro steps

  • Step 1 ng new my-app --skip-git=true or ng new --skip-git true

Observed behavior

Schematic input does not validate against the Schema: {"dryRun":false,"skipGit":"true","version":"6.0.0","directory":"","skipInstall":false,"linkCli":false,"commit":true,"newProjectRoot":"projects","inlineStyle":false,"inlineTemplate":false,"routing":false,"prefix":"app","style":"css","skipTests":false}
Errors:

  Data path ".skipGit" should be boolean.

Desired behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions