We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9c4098 commit a3bd2b1Copy full SHA for a3bd2b1
action/index.cjs
@@ -150537,7 +150537,7 @@ exports.robot = robot;
150537
const matchPatterns = (patterns, path) => {
150538
return patterns.some((pattern) => {
150539
try {
150540
- return (0, minimatch_1.minimatch)(path, pattern.startsWith('/') || pattern.startsWith('**') ? pattern : `**/${pattern}`);
+ return (0, minimatch_1.minimatch)(path, pattern.startsWith('/') ? "**" + pattern : pattern.startsWith("**") ? pattern : "**/" + pattern);
150541
}
150542
catch {
150543
// if the pattern is not a valid glob pattern, try to match it as a regular expression
0 commit comments