-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Location
hooks/lib/utils.js:123-127
Description
The glob-to-regex conversion replaces . with \\. then * with .*. If the input pattern already contains a literal \., the first replace produces \\. and the second leaves it alone — but if it contains * adjacent to ., the ordering can produce unexpected results. Minor edge case but the function has no escaping guard.
Suggested Fix
Use a single-pass replacer or document that only simple globs are supported.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels