Skip to content

How to filter/delete directory with underscore in the name like this: __tests__ ? #394

Closed Answered by flaviojoaofelix
flaviojoaofelix asked this question in Q&A
Discussion options

You must be logged in to vote

I ended up missing a simple error and got the solution now. Just the slash at the end of the directory.

I was trying like this:

--path __tests__ \
--invert-paths --force

And it was like this:

--path __tests__/ \
--invert-paths --force

Sorry to bother you with something so simple, but I really appreciate your attention!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@flaviojoaofelix
Comment options

@flaviojoaofelix
Comment options

Answer selected by newren
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants