mirror of
https://github.com/actions/labeler.git
synced 2025-12-13 21:17:02 +00:00
Run prettier
This commit is contained in:
@@ -243,7 +243,7 @@ function checkBranch(glob: string | string[]): boolean {
|
||||
|
||||
core.debug(` checking "branch" pattern against ${branchName}`);
|
||||
if (Array.isArray(glob)) {
|
||||
const matchers = glob.map((g) => new Minimatch(g));
|
||||
const matchers = glob.map(g => new Minimatch(g));
|
||||
for (const matcher of matchers) {
|
||||
if (matchBranchPattern(matcher, branchName)) {
|
||||
core.debug(` "branch" patterns matched against ${branchName}`);
|
||||
|
||||
Reference in New Issue
Block a user