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

istanbuljs / nyc / 1754 / 1
96%
master: 100%

Build:
Build:
LAST BUILD BRANCH: deprecate-uuid@3.x
DEFAULT BRANCH: master
Ran 15 Jan 2019 08:43PM UTC
Files 3
Run time 0s
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

15 Jan 2019 08:16PM UTC coverage: 96.111% (-0.3%) from 96.389%
1754.1

Pull #957

travis-ci

web-flow
feat: avoid hardcoded HOME for spawn-wrap working dir

By default, spawn-wrap writes temporary files to HOME.
It used to be /tmp, but it changed that to HOME to support
environments that have 'noexec' flags set on their tmpfs mount.
Ref https://github.com/tapjs/spawn-wrap/issues/3.

The problem with this is that nyc now no longer works in environments
without a (writable) home directory (e.g. the 'nobody' user on
Linux).

While it is fine to fallback to HOME, it should write elsewhere
if that is unavailable, and ideally in a way that doesn't require
every sysadmin or end-user to hardcode some environment variable
in their package.json specifically for nyc or spawn-wrap.

A common way to communicate this intent is with the XDG_CACHE_HOME
environment variable.

Fixes #951.
Pull Request #957: feat: avoid hardcoded HOME for spawn-wrap working dir

117 of 138 branches covered (84.78%)

346 of 360 relevant lines covered (96.11%)

345.58 hits per line

Source Files on job 1754.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1613
  • Travis Job 1754.1
  • f1a5473c on github
  • Prev Job for on sw-fail (#1744.4)
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