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

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

Build:
Build:
LAST BUILD BRANCH: nlf/arborist-validation
DEFAULT BRANCH: latest
Ran 20 Feb 2021 04:48AM UTC
Jobs 1
Files 118
Run time 8s
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
#1299

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.

2883 of 2960 branches covered (97.4%)

Branch coverage included in aggregate %.

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

5035 of 5140 relevant lines covered (97.96%)

20.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #1299.1 20 Feb 2021 04:48AM UTC 0
97.75
Source Files on build #1299
Detailed source file information is not available for this build.
  • Back to Repo
  • 5287b6e4 on github
  • Prev 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