Skip to content

Commit

Permalink
change name so we don't override a JS variable
Browse files Browse the repository at this point in the history
  • Loading branch information
RadhepS committed Oct 15, 2024
1 parent 7c15b1a commit d3431af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/core/src/util/glob-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function globToRegex(glob: string, literalQuestionMark = false): string {
}
} else {
const processed = toEscape.reduce(
(seg, escape) => seg?.replace(escape.replace, escape.with),
(seg, escapeRule) => seg?.replace(escapeRule.replace, escapeRule.with),
segment
);
regex += processed;
Expand Down

0 comments on commit d3431af

Please sign in to comment.