Skip to content

Commit

Permalink
Update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimZhukov committed Oct 31, 2023
1 parent 9181355 commit cb66c2f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ function checkAllChangedFiles(changedFiles, globPatternsConfigs, dot) {
}
exports.checkAllChangedFiles = checkAllChangedFiles;
function checkIfAnyGlobMatchesAnyFile(changedFiles, globs, dot) {
core.debug(` checking "anyGlobToAnyFile" config patterns`);
core.debug(` checking "any-glob-to-any-file" config patterns`);
const matchers = globs.map(g => new minimatch_1.Minimatch(g, { dot }));
for (const matcher of matchers) {
const matchedFile = changedFiles.find(changedFile => {
Expand All @@ -700,7 +700,7 @@ function checkIfAnyGlobMatchesAnyFile(changedFiles, globs, dot) {
}
exports.checkIfAnyGlobMatchesAnyFile = checkIfAnyGlobMatchesAnyFile;
function checkIfAllGlobsMatchAnyFile(changedFiles, globs, dot) {
core.debug(` checking "allGlobsToAnyFile" config patterns`);
core.debug(` checking "all-globs-to-any-file" config patterns`);
const matchers = globs.map(g => new minimatch_1.Minimatch(g, { dot }));
for (const changedFile of changedFiles) {
const mismatchedGlob = matchers.find(matcher => {
Expand All @@ -719,7 +719,7 @@ function checkIfAllGlobsMatchAnyFile(changedFiles, globs, dot) {
}
exports.checkIfAllGlobsMatchAnyFile = checkIfAllGlobsMatchAnyFile;
function checkIfAnyGlobMatchesAllFiles(changedFiles, globs, dot) {
core.debug(` checking "anyGlobToAllFiles" config patterns`);
core.debug(` checking "any-glob-to-all-files" config patterns`);
const matchers = globs.map(g => new minimatch_1.Minimatch(g, { dot }));
for (const matcher of matchers) {
const mismatchedFile = changedFiles.find(changedFile => {
Expand All @@ -738,7 +738,7 @@ function checkIfAnyGlobMatchesAllFiles(changedFiles, globs, dot) {
}
exports.checkIfAnyGlobMatchesAllFiles = checkIfAnyGlobMatchesAllFiles;
function checkIfAllGlobsMatchAllFiles(changedFiles, globs, dot) {
core.debug(` checking "allGlobsToAllFiles" config patterns`);
core.debug(` checking "all-globs-to-all-files" config patterns`);
const matchers = globs.map(g => new minimatch_1.Minimatch(g, { dot }));
for (const changedFile of changedFiles) {
const mismatchedGlob = matchers.find(matcher => {
Expand Down

0 comments on commit cb66c2f

Please sign in to comment.