Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #17 from urosgruber/master
Browse files Browse the repository at this point in the history
Fix broken pattern while doing interface 2.0 upgrade
  • Loading branch information
paulmillr authored Oct 12, 2016
2 parents 8b8096c + 6bdf218 commit 1137d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class CoffeeLinter {
}
this.useCoffeelintJson = cfg.useCoffeelintJson;
const watchedPaths = this.config && this.config.paths && this.config.paths.watched || ['app'];
this.pattern = cfg.pattern || new RegExp(`(${watchedPaths.join('|')}).*\\coffee$`);
this.pattern = cfg.pattern || new RegExp(`(${watchedPaths.join('|')}).*\.coffee$`);
if (this.useCoffeelintJson) {
try {
const coffeelintJson = JSON.parse(fs.readFileSync('coffeelint.json'));
Expand Down

0 comments on commit 1137d0e

Please sign in to comment.