Skip to content

[master] schematics-cli doesn't set dryRun by default when using a local collection #12815

@nweldev

Description

@nweldev

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

repo: master

Repro steps

run on any collection
̀schematics .:`
this will create the files

The log given by the failure

Desired functionality

DryRun should be used by default when using a local collection.

Mention any other details that might be useful

This seems to be related to bb01cce, as argv.dryRun is now false instead of null by default. My guess would be that this is a problem with minimist, but I didn't investigated it that much. cc @alan-agius4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions