I’m working on a custom package and I’m unable to get any sensible results from the atom.project.scan method. I can supply anything in the regex parameter, and it always returns every single .js file in the opened project (folder). How come it does not return other files, such as .json and .html files?
What I’m looking for, is a way to find the “manifest.json” within the opened project, but with the atom.project.scan this doesn’t seem to be easy, I’m probably doing it wrong. Does .scan run a files can within the files, or simply look into the file names?