Skip to content

Commit

Permalink
chore: fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Jan 8, 2018
1 parent 718a9ad commit 8cec0fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/monitor/match.js
Expand Up @@ -90,7 +90,9 @@ function rulesToMonitor(watch, ignore, config) {
rule.slice(-1) === '*' &&
rule.indexOf('*.') === -1) {

if (rule.slice(-2) !== '**') rule += '*/*';
if (rule.slice(-2) !== '**') {
rule += '*/*';
}
}


Expand Down

0 comments on commit 8cec0fc

Please sign in to comment.