-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Bugthing that needs fixingthing that needs fixingRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release
Milestone
Description
Previously in pre-npm 7 --silent
would only silence output from npm, meaning that run
would still output the output from whatever is being run.
Now, it silences everything, meaning we can't use --silent
to silence the npm ERR!
messages that follow whenever a command fails.
Current Behavior:
> npm run typecheck --silent
Expected Behavior:
> npm run typecheck --silent
src/audit.ts:137:13 - error TS2345: Argument of type 'AuditMetadata | NpmAuditMetadataV2' is not assignable to parameter of type 'AuditMetadata'.
Type 'NpmAuditMetadataV2' is missing the following properties from type 'AuditMetadata': devDependencies, optionalDependencies, totalDependencies
137 auditOutput.metadata
~~~~~~~~~~~~~~~~~~~~
Found 1 error.
Steps To Reproduce:
Environment:
- OS: Ubuntu 18.04 (via WSLv1, Windows 10)
- Node: 14.4.0
- npm: 7.0.0
ljharb, G-Rath, vweevers and scooper91
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release