mirror of
https://github.com/atom/atom.git
synced 2026-02-09 14:15:24 -05:00
Fix Project.getFilePaths spec. It returns relative paths.
This commit is contained in:
@@ -12,8 +12,7 @@ class Project
|
||||
getFilePaths: ->
|
||||
projectUrl = @url
|
||||
fs.async.listFiles(@url, true).pipe (urls) ->
|
||||
urls = (url.replace(projectUrl, "") for url in urls when fs.isFile(url))
|
||||
urls
|
||||
url.replace(projectUrl, "") for url in urls
|
||||
|
||||
open: (filePath) ->
|
||||
filePath = @resolve filePath
|
||||
|
||||
Reference in New Issue
Block a user