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

npm / cli / #2012
97%
latest: 97%

Build:
Build:
LAST BUILD BRANCH: nlf/arborist-validation
DEFAULT BRANCH: latest
Ran 07 May 2021 04:45PM UTC
Jobs 1
Files 122
Run time 11s
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
#2012

push

wraithgar
fix(view): fix non-registry specs

This was working by coincidence in 7.7.6 and before, and broken in the
7.8.0 refactor.  Before, it would see there was no "name" in the spec,
and then read your local package.json, and from that get a `latest`
tag.  So, if you didn't have a package.json in your CWD it would fail
with an ENOENT trying to read it.

This fixes it for real, so that if you aren't asking for info from a
registry spec, it goes ahead and looks for the `latest` tag (or whatever
tag you have configured as your default).

2972 of 3108 branches covered (95.62%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

5161 of 5347 relevant lines covered (96.52%)

22.48 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/view.js
Jobs
ID Job ID Ran Files Coverage
1 #2012.1 07 May 2021 04:45PM UTC 0
96.19
Source Files on build #2012
  • Tree
  • List 122
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 76b445a7 on github
  • Next Build on gar/view-git-fix
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