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

npm / cli / #503
64%
latest: 97%

Build:
Build:
LAST BUILD BRANCH: nlf/arborist-validation
DEFAULT BRANCH: latest
Ran 13 Oct 2020 11:14PM UTC
Jobs 1
Files 129
Run time 14s
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
#503

push

isaacs
Handle errors from audit endpoint appropriately

If we're running the 'audit' command, then a failed endpoint means that
the command failed.  Error out in that case.

Otherwise, if it's a quick audit as part of another command, just return
a value to indicate that we should not print audit info.

This avoids showing '0 vulnerabilities found', which, while amusingly
technically correct, is misleading and not very helpful.

Fix: #1951

1747 of 2945 branches covered (59.32%)

Branch coverage included in aggregate %.

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

3383 of 5030 relevant lines covered (67.26%)

12.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #503.1 13 Oct 2020 11:14PM UTC 0
64.33
Source Files on build #503
Detailed source file information is not available for this build.
  • Back to Repo
  • 03200bf1 on github
  • Next Build on isaacs/audit-handle-failed-endpoint
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

© 2026 Coveralls, Inc