Merge remote-tracking branch 'origin/master' into status-bar-buffer-modified-indicator

This commit is contained in:
Will Farrington
2012-10-08 17:38:55 -10:00
2 changed files with 2 additions and 1 deletions

View File

@@ -55,6 +55,7 @@ class Project
if @ignorePath(path)
prune()
else if fs.isFile(path)
prune()
filePaths.push @relativize(path)
deferred.resolve filePaths

View File

@@ -109,7 +109,7 @@ module.exports =
for path in @list(rootPath)
recurse = true
fn(path, prune)
@traverseTree(path, fn) if @isDirectory(path) and recurse
@traverseTree(path, fn) if recurse and @isDirectory(path)
lastModified: (path) ->
$native.lastModified(path)