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

fs-utils / symlink / 14
100%

Build:
DEFAULT BRANCH: master
Ran 01 Jul 2015 05:38PM UTC
Jobs 4
Files 1
Run time 46s
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
14

push

travis-ci

jonathanong
Normalise from path to allow symlink to a directory from inside that dir

It is currently not possible to symlink to a directory from inside that
directory (e.g. symlink /app/myfolder/folder to /app/myfolder). This is because
we're using path.dirname(to) which will result in the same directory as the from
argument and the result of using path.relative() with two paths that are the same
is '' - an empty string.

By using path.normalize() you get the correct result: '.', the current directory

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

23 of 23 relevant lines covered (100.0%)

12.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 14.1 01 Jul 2015 05:38PM UTC 0
100.0
Travis Job 14.1
2 14.2 01 Jul 2015 05:39PM UTC 0
100.0
Travis Job 14.2
3 14.3 01 Jul 2015 05:39PM UTC 0
100.0
Travis Job 14.3
4 14.4 01 Jul 2015 05:39PM UTC 0
100.0
Travis Job 14.4
Source Files on build 14
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #14
  • 977c2dfc on github
  • Prev Build on master (#12)
  • Next Build on master (#16)
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