diff --git a/dist/index.js b/dist/index.js index ac64e973..85f84a75 100644 --- a/dist/index.js +++ b/dist/index.js @@ -187,9 +187,9 @@ function printPattern(matcher) { return (matcher.negate ? '!' : '') + matcher.pattern; } function isAnyMatch(changedFile, matchers) { - core.debug(` matching patterns against file ${changedFile}`); + core.debug(` matching patterns against file ${changedFile}`); for (const matcher of matchers) { - core.debug(` - ${printPattern(matcher)}`); + core.debug(` - ${printPattern(matcher)}`); if (matcher.match(changedFile)) { core.debug(` ${printPattern(matcher)} matched`); return true; @@ -199,9 +199,9 @@ function isAnyMatch(changedFile, matchers) { return false; } function isAllMatch(changedFile, matchers) { - core.debug(` matching patterns against file ${changedFile}`); + core.debug(` matching patterns against file ${changedFile}`); for (const matcher of matchers) { - core.debug(` - ${printPattern(matcher)}`); + core.debug(` - ${printPattern(matcher)}`); if (!matcher.match(changedFile)) { core.debug(` ${printPattern(matcher)} did not match`); return false; diff --git a/src/changedFiles.ts b/src/changedFiles.ts index 35697b87..dc82dc81 100644 --- a/src/changedFiles.ts +++ b/src/changedFiles.ts @@ -50,9 +50,9 @@ function printPattern(matcher: Minimatch): string { } function isAnyMatch(changedFile: string, matchers: Minimatch[]): boolean { - core.debug(` matching patterns against file ${changedFile}`); + core.debug(` matching patterns against file ${changedFile}`); for (const matcher of matchers) { - core.debug(` - ${printPattern(matcher)}`); + core.debug(` - ${printPattern(matcher)}`); if (matcher.match(changedFile)) { core.debug(` ${printPattern(matcher)} matched`); return true; @@ -64,9 +64,9 @@ function isAnyMatch(changedFile: string, matchers: Minimatch[]): boolean { } function isAllMatch(changedFile: string, matchers: Minimatch[]): boolean { - core.debug(` matching patterns against file ${changedFile}`); + core.debug(` matching patterns against file ${changedFile}`); for (const matcher of matchers) { - core.debug(` - ${printPattern(matcher)}`); + core.debug(` - ${printPattern(matcher)}`); if (!matcher.match(changedFile)) { core.debug(` ${printPattern(matcher)} did not match`); return false;