mirror of
https://github.com/actions/labeler.git
synced 2025-12-11 12:07:32 +00:00
Update src/labeler.ts
Co-authored-by: AndreiLobanovich <andreilobanovich@github.com>
This commit is contained in:
committed by
GitHub
parent
cecbd94bd4
commit
092c979868
@@ -210,7 +210,7 @@ function checkAll(
|
||||
globs: string[],
|
||||
dot: boolean
|
||||
): boolean {
|
||||
const matchers = globs.map(g => new Minimatch(g), {dot});
|
||||
const matchers = globs.map(g => new Minimatch(g, {dot}));
|
||||
core.debug(` checking "all" patterns`);
|
||||
for (const changedFile of changedFiles) {
|
||||
if (!isMatch(changedFile, matchers)) {
|
||||
|
||||
Reference in New Issue
Block a user