Update build

This commit is contained in:
Alexander Kachkaev
2023-05-31 01:46:05 +01:00
parent 60f44e7cf1
commit 97762039fe

2
dist/index.js vendored
View File

@@ -197,7 +197,7 @@ function checkAny(changedFiles, globs, dot) {
}
// equivalent to "Array.every()" but expanded for debugging and clarity
function checkAll(changedFiles, globs, dot) {
const matchers = globs.map(g => new minimatch_1.Minimatch(g), { dot });
const matchers = globs.map(g => new minimatch_1.Minimatch(g, { dot }));
core.debug(` checking "all" patterns`);
for (const changedFile of changedFiles) {
if (!isMatch(changedFile, matchers)) {