Say I have a project with a bunch of .js files. I want to find out which files do not contain this line:
const process = require('suman-browser-polyfills/modules/process');
If I do
grep -v "suman-browser-polyfills/modules/process" .
then it will simply log every line of every file that does not match. That's not going to give me what I want at all.
Does anyone know a good way to do this?