Skip to content

Commit

Permalink
matchBase: false
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehonal authored Aug 4, 2023
1 parent b077edc commit 890d44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changed-files/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ async function run() {

let requiredPathsMatched = true;
for (const requiredPath of requiredPaths) {
if (!changedPaths.some(changedPath => minimatch(changedPath, requiredPath, { matchBase: true, dot: true, nocase: true }))) {
if (!changedPaths.some(changedPath => minimatch(changedPath, requiredPath, { matchBase: false, dot: true, nocase: true }))) {
requiredPathsMatched = false;
break;
}
Expand Down

0 comments on commit 890d44b

Please sign in to comment.