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

makojs / tree / 203
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: greenkeeper-chai-4.0.1
DEFAULT BRANCH: master
Ran 26 Sep 2016 06:39AM UTC
Jobs 1
Files 2
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

pending completion
203

push

travis-ci

dominicbarnes
fix: use basename for determining file type

The previous logic used `file.path` when checking type, which allowed a file that had no extension, but was in a directory that included a `.` to report an unexpected type.

For example: `dominicbarnes.github.com/CNAME` showed the type `com/cname`, which makes no sense

The change here switches to using `file.basename`, which by itself means the example above returns `""`. The next step is to fall back to a lowercased `file.basename` to get the expected result of `cname`.

193 of 193 relevant lines covered (100.0%)

20.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 203.1 26 Sep 2016 06:39AM UTC 0
100.0
Travis Job 203.1
Source Files on build 203
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #203
  • 17145c25 on github
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