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 issue is that repomix's ignore parsing is simply using split(',') without any whitespace trimming. This means that:
--ignore "**/__tests__/**, **/theme/**"
Will result in patterns like **/__tests__/** and **/theme/** (note the leading space in the second pattern).
And similarly, a pattern like:
**/{__tests__, theme}/**
Gets split incorrectly.
While the latter input syntax is more challenging to support, I plan to improve the parser to trim whitespace after split(',') so the first pattern style works as expected. There should be very few cases where leading or trailing spaces are actually needed in patterns, and in those rare cases, \s can be used.
I am trying to get a simple fileglob to work.
It does not work on the command line, it does work in repomix.config.json
CLI:
I have tried both
(the second syntax is from the fastglob repo linked in the readme as an example)
Does not work
repomix.config:
Does work
What am I missing?
The text was updated successfully, but these errors were encountered: