Remove logging of traversal times

This commit is contained in:
Kevin Sawicki
2012-10-09 10:06:39 -07:00
parent d8ea07468b
commit 7fd06c8e66

View File

@@ -55,18 +55,13 @@ class Project
filePaths = []
count = 0
start = new Date().getTime()
onFile = (path) =>
count++
filePaths.push(path) unless @ignoreFile(path)
onDirectory = (path) =>
count++
return not @ignoreDirectory(path)
fs.traverseTree @getPath(), onFile, onDirectory
console.log "#{count} paths in #{new Date().getTime()-start}ms"
deferred.resolve filePaths
deferred