Skip to content

Commit

Permalink
fix(ng-dev): do not match dots automatically in pullapprove
Browse files Browse the repository at this point in the history
Pullapprove does not match dot files automatically, using `wcmatch`. We
should adjust our verify logic to reflect that.
  • Loading branch information
devversion committed Jun 27, 2022
1 parent 5f98f0c commit fcb33b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ng-dev/pullapprove/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function getOrCreateGlob(pattern: string) {
if (patternCache.has(pattern)) {
return patternCache.get(pattern)!;
}
const glob = new Minimatch(pattern, {dot: true});
const glob = new Minimatch(pattern, {dot: false, nobrace: false});
patternCache.set(pattern, glob);
return glob;
}

0 comments on commit fcb33b0

Please sign in to comment.