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

fs-utils / temp-path / 2 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 10 May 2015 12:25PM UTC
Files 1
Run time 1s
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

10 May 2015 12:22PM UTC coverage: 100.0%. Remained the same
2.1

Pull #1

travis-ci

sindresorhus
<a href="https://github.com/fs-utils/temp-path/commit/<a class=hub.com/fs-utils/temp-path/commit/<a class="double-link" href="https://git"><a class=hub.com/fs-utils/temp-path/commit/5e97821a0e76e8b5c96feccbeea61f1e4e9acf6f">5e97821a0<a href="https://github.com/fs-utils/temp-path/commit/5e97821a0e76e8b5c96feccbeea61f1e4e9acf6f">&lt;a href=&quot;https://github.com/fs-utils/temp-path/commit/5e97821a0e76e8b5c96feccbeea61f1e4e9acf6f&quot;&gt;&amp;quot;&amp;gt;use `os.tmpdir()` polyfill for more consistent behaviour

The `os.tmpdir()` method has changed a lot between Node versions and it would be nice for users if it were consistent between Node versions. This might even prevent hard to track down bugs.

Node 0.10.38: https://github.com/joyent/node/blob/&lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/fs-utils/temp-path/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/fs-utils/temp-path/commit/0b5731a63cc40c4fe9275c79158fe0a5dd4d1609&quot;&gt;0b5731a63&lt;/a&gt;&quot;&gt;0b5731a63</a><a href="https://github.com/fs-utils/temp-path/commit/5e97821a0e76e8b5c96feccbeea61f1e4e9acf6f">/lib/os.js#L44-L49

io.js 2.0.1: https://github.com/iojs/io.js/blob/</a><a class="double-link" href="https://github.com/fs-utils/temp-path/commit/<a class="double-link" href="https://github.com/fs-utils/temp-path/commit/6c80e38b014b7be570ffafa91032a6d67d7dd4ae">6c80e38b0</a>">6c80e38b0</a><a href="https://github.com/fs-utils/temp-path/commit/5e97821a0e76e8b5c96feccbeea61f1e4e9acf6f">/lib/os.js#L25-L40

From io.js changelog:

&gt; os.tmpdir() is now cross-platform consistent and will no longer returns a path with a trailling slash on any platform

&gt; Updated os.tmpdir on Windows to use the %SystemRoot% or %WINDIR% environment variables instead of the hard-coded value of c:\windows when determining the temporary directory location.

---

https://github.com/sindresorhus/os-tmpdir
Pull Request #1: use `os.tmpdir()` polyfill for more consistent behaviour

6 of 6 relevant lines covered (100.0%)

1.17 hits per line

Source Files on job 2.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2
  • Travis Job 2.1
  • 5e97821a on github
  • Prev Job for on master (#1.1)
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