Esse commit está contido em:
Ben Ogle
2014-11-19 14:33:24 -08:00
commit dde13a5d4e
+1 -2
Ver Arquivo
@@ -16,8 +16,7 @@ module.exports = (grunt) ->
classes = {}
fs.traverseTreeSync modulesPath, (modulePath) ->
return false if modulePath.match(/node_modules/g).length > 1 # dont need the dependencies of the dependencies
for moduleName in moduleBlacklist
return false if path.basename(modulePath) is moduleName
return false if path.basename(modulePath) in moduleBlacklist
return true unless path.basename(modulePath) is 'package.json'
return true unless fs.isFileSync(modulePath)