diff --git a/app/index.js b/app/index.js index e36cfd4..c0b84a0 100644 --- a/app/index.js +++ b/app/index.js @@ -34,6 +34,9 @@ glob(globify(options, signatures), config.glob, function (err, files) { // scan each file files.forEach(function (file) { + if (fs.lstatSync(file).isDirectory()) { + return; + } matches = scan(file, matches, options, signatures); });