mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Merge remote-tracking branch 'origin/master' into status-bar-buffer-modified-indicator
This commit is contained in:
@@ -55,6 +55,7 @@ class Project
|
||||
if @ignorePath(path)
|
||||
prune()
|
||||
else if fs.isFile(path)
|
||||
prune()
|
||||
filePaths.push @relativize(path)
|
||||
|
||||
deferred.resolve filePaths
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user