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

fs-utils / temp-path / 2
100%

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

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

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

6 of 6 relevant lines covered (100.0%)

2.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2.1 10 May 2015 12:25PM UTC 0
100.0
Travis Job 2.1
2 2.2 10 May 2015 12:23PM UTC 0
100.0
Travis Job 2.2
Source Files on build 2
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2
  • Pull Request #1
  • PR Base - master (#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