Skip to content

Clarify 'nothing to be done' message #10253

@StephenFluin

Description

@StephenFluin

Versions

Angular CLI: 6.0.0-rc.2
Node: 9.2.0
OS: linux x64
Angular: 6.0.0-rc.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 6.0.0-rc.2
@angular-devkit/architect: 0.5.4
@ngtools/json-schema: 1.2.0
@schematics/update: 0.5.4
typescript: 2.9.0-dev.20180409
webpack: error

Repro steps

Run ng update when there is a package listed that needs to be updated

Observed behavior

$ ng update
    We analyzed your package.json, there are some packages to update:
    
      Name                               Version                    Command to update
     ---------------------------------------------------------------------------------------------------------
      @types/node                        6.0.104 -> 9.6.2           npm install @types/node
      jasmine-core                       2.8.0 -> 3.1.0             npm install jasmine-core
      karma-jasmine-html-reporter        0.2.2 -> 1.0.0             npm install karma-jasmine-html-reporter
      protractor                         5.1.2 -> 5.3.1             npm install protractor
      ts-node                            4.1.0 -> 5.0.1             npm install ts-node
    
    
    There might be additional packages that are outdated.
    Or run ng update --all to try to update all at the same time.
    
Nothing to be done.

Desired behavior

The 'Nothing to be done.' message is confusing.

I recommend either removing it entirely, or changing it to something like 'By default no updates are run automatically, run one of the commands above to start updating'.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions