You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
gamerxp
changed the title
Square brackets in resolved base path leads to watcher not working
Square brackets in resolved base path leads to matchGlobs in watcher to fails
Dec 19, 2024
Describe the bug
In FiveM you can grouping curtain resource to group by naming the parent directory with surrounded square bracket (
[GoodCategoryName]
)When full path containing this pattern
[Name]
It leads to minimatch's matching to fails.With some digging I've found the plugin will globs with resolve full path with unescaped bracket and passing it to minimatch
The
[Resource]
part will leads to minimatch to failsPotential fix
Reproduction
Name the parent directory surrounded by square bracket
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: