Skip to content

Commit a3bd2b1

Browse files
committed
rebuild
1 parent a9c4098 commit a3bd2b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action/index.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150537,7 +150537,7 @@ exports.robot = robot;
150537150537
const matchPatterns = (patterns, path) => {
150538150538
return patterns.some((pattern) => {
150539150539
try {
150540-
return (0, minimatch_1.minimatch)(path, pattern.startsWith('/') || pattern.startsWith('**') ? pattern : `**/${pattern}`);
150540+
return (0, minimatch_1.minimatch)(path, pattern.startsWith('/') ? "**" + pattern : pattern.startsWith("**") ? pattern : "**/" + pattern);
150541150541
}
150542150542
catch {
150543150543
// if the pattern is not a valid glob pattern, try to match it as a regular expression

0 commit comments

Comments
 (0)