Update the debug values

This commit is contained in:
Josh Dales
2023-03-27 16:15:03 -04:00
parent 938f9c9893
commit 3ddce51a65
2 changed files with 1 additions and 2 deletions

View File

@@ -82,7 +82,6 @@ export function checkAnyChangedFiles(
globs: string[]
): boolean {
const matchers = globs.map(g => new Minimatch(g));
core.debug(` checking "any" patterns`);
for (const changedFile of changedFiles) {
if (isAnyMatch(changedFile, matchers)) {
core.debug(` "any" patterns matched against ${changedFile}`);
@@ -99,7 +98,6 @@ export function checkAllChangedFiles(
globs: string[]
): boolean {
const matchers = globs.map(g => new Minimatch(g));
core.debug(` checking "all" patterns`);
for (const changedFile of changedFiles) {
if (!isAllMatch(changedFile, matchers)) {
core.debug(` "all" patterns did not match against ${changedFile}`);

View File

@@ -201,6 +201,7 @@ export function checkMatchConfigs(
function checkMatch(changedFiles: string[], matchConfig: MatchConfig): boolean {
if (!Object.keys(matchConfig).length) {
core.debug(` no "any" or "all" patterns to check`);
return false;
}