Comment by nothrabannosir
3 months ago
But also respects .gitignore by default so I’m not sure you want to use ripgrep to scan your node_modules
3 months ago
But also respects .gitignore by default so I’m not sure you want to use ripgrep to scan your node_modules
For others who didn't know, the -u flag in the OP's command makes it so ripgrep _will_ search files even if they're gitignored
-u searches through ignored files
-uu searches through ignored and hidden files (eg dotfiles)
-uuu searches through ignored, hidden, and binary files (ie everything)
Isn't the intended behaviour of original comment checking the node_modules folder for the "infected" string.