This commit is contained in:
Kevin Sawicki 2014-08-19 17:25:20 -06:00 committed by Ben Ogle
parent d13fd495e4
commit 1c97eb977e

View File

@ -17,7 +17,8 @@ module.exports = (grunt) ->
modulesPath = path.resolve(__dirname, '..', '..', 'node_modules')
classes = {}
fs.traverseTreeSync modulesPath, (modulePath) ->
return true unless path.basename(modulePath) is 'package.json' and fs.isFileSync(modulePath)
return true unless path.basename(modulePath) is 'package.json'
return true unless fs.isFileSync(modulePath)
apiPath = path.join(path.dirname(modulePath), 'api.json')
if fs.isFileSync(apiPath)