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

paulmillr / chokidar / 595 / 5
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 08 Oct 2016 06:39AM UTC
Files 4
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

08 Oct 2016 06:38AM UTC coverage: 90.488% (-7.7%) from 98.235%
NODE_VERSION="4"

Pull #539

travis-ci

web-flow
Improve ignore paths globifying

Ensures that if only a directory's basename is provided (without the preceeding path, just `dirname`), it prefixes `**/`

Currently when only a directory name is provided, it adds a postfix `/**` which is great for matching the entire tree ***if*** the tree is a *child* of the dir.  So `path` (converted to `path/**`) can filter paths like `path/to/file.js`, **but** if `path` is actually only a directory's basename it fails to match `/some/path/to/file.js`. This can be solved by prefixing `**/path`

Really helpful when only "node_modules" is provided as ignore path (like in `.gitignore` file) and it's actually some level deeper than current dir.

Also adjust the postfix to add just `**` instead of `/**` based on if last char is already a `/`
Pull Request #539: Improve ignore paths globifying

1760 of 1945 relevant lines covered (90.49%)

94.38 hits per line

Source Files on job 595.5 (NODE_VERSION="4")
  • Tree
  • List 0
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 595
  • Travis Job 595.5
  • f0a1af76 on github
  • Prev Job for NODE_VERSION="4" on master (#593.6)
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