Describe the bug
npx npkill -y --no-check-update --exclude "node_modules" misses all node_modules folders deeply nested in the current working directory. npx npkill -y --no-check-update --exclude "./node_modules" has the same issue as well.
Expected behavior
It should find all nested node_modules, and exclude only the one node_modules folder located in the current directory.
Alternative that works correctly: npx npkill -y --no-check-update --exclude "$(pwd)/node_modules" (passing the absolute path works).
- OS: MacOS Sequoia 15.2
- npkill version 0.12.2