Skip to content

ng update @angular/cli always output list of updated file #16191

@elvisbegovic

Description

@elvisbegovic

🐞 Bug report

Command (mark with an x)

  • update

Is this a regression?

I don't know

Description

Run many times same ng update command migrate only on package @angular/cli from v8, CLI always output all files that are updated
image

🔬 Minimal Reproduction

One line repro:
ng new clibug --minimal --defaults && cd clibug && npm install && ng update @angular/cli --migrateOnly --from=8 --allowDirty && ng update @angular/cli --migrateOnly --from=8 --allowDirty && ng update @angular/cli --migrateOnly --from=8 --allowDirty

🌍 Your Environment

See Environment version

Angular CLI: 9.0.0-rc.2
Node: 13.1.0
OS: win32 x64
Angular: 9.0.0-rc.2
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package Version

@angular-devkit/architect 0.900.0-rc.2
@angular-devkit/build-angular 0.900.0-rc.2
@angular-devkit/build-optimizer 0.900.0-rc.2
@angular-devkit/build-webpack 0.900.0-rc.2
@angular-devkit/core 9.0.0-rc.2
@angular-devkit/schematics 9.0.0-rc.2
@ngtools/webpack 9.0.0-rc.2
@schematics/angular 9.0.0-rc.2
@schematics/update 0.900.0-rc.2
rxjs 6.5.3
typescript 3.6.4
webpack 4.41.2

Anything else relevant?
cc @alan-agius4

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions