Skip to content

[BUG] npm run-script --silent now broken completely #2023

@ghost

Description

Note: Issue #1958 refers to --silent suppressing all output.

Current Behavior:

npm run --silent script now outputs everything, eg:

$ npm run --silent checksum 

> @cliff/howden@1.3.0 checksum
> cat *coffee | cksum | cut -d' ' -f1

3115970741

In other words, the --silent flag is doing nothing.

Expected Behavior:

$ npm --version
6.14.8
$ npm run --silent checksum
3115970741

Steps To Reproduce:

See above.

Environment:

  • OS: Ubuntu 20.04.1
  • Node: v15.0.1
  • npm: v7.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions