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

paulmillr / chokidar / 595
96%

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

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

36 of 36 new or added lines in 2 files covered. (100.0%)

1760 of 1945 relevant lines covered (90.49%)

377.09 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
index.js

Uncovered Existing Lines

Lines Coverage ∆ File
8
100.0
test.js
11
100.0
index.js
134
100.0
lib/fsevents-handler.js
Jobs
ID Job ID Ran Files Coverage
1 595.1 (NODE_VERSION="6") 08 Oct 2016 06:39AM UTC 0
90.49
Travis Job 595.1
3 595.3 (NODE_VERSION="5") 08 Oct 2016 06:40AM UTC 0
90.49
Travis Job 595.3
5 595.5 (NODE_VERSION="4") 08 Oct 2016 06:39AM UTC 0
90.49
Travis Job 595.5
7 595.7 (NODE_VERSION="0.12") 08 Oct 2016 06:41AM UTC 0
90.49
Travis Job 595.7
Source Files on build 595
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #595
  • Pull Request #539
  • PR Base - master (#593)
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