gemnasium / toolbelt

Gemnasium toolbelt is a CLI for the Gemnasium API (NOT MAINTAINED ANYMORE)
https://gemnasium.com
MIT License
106 stars 24 forks source link

Files in `nodes_modules` must be ignored when scanning current folder #51

Open gravis opened 6 years ago

gravis commented 6 years ago

If no files are passed to toolbelt as param, the current folder and subfolders will be scanned:

gemnasium dependency_files push 
[warning] No files given, scanning current directory instead. 
[...]

We must exclude node_modules folders, as they will contains a lot of package.json files, and it will mess up the project on Gemnasium. This folder is used to install packages files locally: https://docs.npmjs.com/files/folders#node-modules

gravis commented 6 years ago

We must also exclude .bundle folders