• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

npm / cli / #1298
98%
latest: 97%

Build:
Build:
LAST BUILD BRANCH: nlf/arborist-validation
DEFAULT BRANCH: latest
Ran 20 Feb 2021 04:47AM UTC
Jobs 1
Files 118
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#1298

push

isaacs
Do not print error banner for shell proxy commands

There are a few commands (exec, run-script, and the run-script proxies)
where essentially npm is acting like a very fancy shell.  It is peculiar
and noisy for npm to print a verbose error banner at the end of these
commands, since presumably the command itself already did whatever it
had to do to report the error appropriately.

For example, `npm test` runs a test script, usually outputting test
results.  Having npm then tell me that my tests failed with exit status
1 and print a debug log, is unnecessary and unwanted.

When the error encountered for these commands does not have a non-zero
numeric 'code', then we still print the standard npm error reporting
messages, because presumably something went wrong OTHER than a process
exiting with a non-zero status code.

2885 of 2962 branches covered (97.4%)

Branch coverage included in aggregate %.

9 of 9 new or added lines in 3 files covered. (100.0%)

5043 of 5148 relevant lines covered (97.96%)

20.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #1298.1 20 Feb 2021 04:47AM UTC 0
97.76
Source Files on build #1298
Detailed source file information is not available for this build.
  • Back to Repo
  • 0ac183f0 on github
  • Next Build on isaacs/quieter-exec
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc