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

npm / arborist / #641

Build:
Build:
LAST BUILD BRANCH:
DEFAULT BRANCH: master
Ran 28 Jan 2021 07:01PM UTC
Jobs 1
Files 39
Run time 9s
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
#641

push

isaacs
More 'root is a link' cleanup

There were a few places in buildIdealTree where we do different behavior
if a node is the root.  However, it should really be if the node is
either the root, *or* the node that a Link root targets.

Add Node.isProjectRoot to mean 'the root node, or the target of a root
link node'.

PR-URL: https://github.com/npm/arborist/pull/212
Credit: @isaacs
Close: #212
Reviewed-by: @nlf

2726 of 2726 branches covered (100.0%)

Branch coverage included in aggregate %.

3743 of 3743 relevant lines covered (100.0%)

545.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #641.1 28 Jan 2021 07:01PM UTC 0
100.0
Source Files on build #641
Detailed source file information is not available for this build.
  • Back to Repo
  • a527ffaf on github
  • Prev Build on
  • Next Build on
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