Fix Project.getFilePaths spec. It returns relative paths.

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-01-10 11:36:15 -08:00
parent 65605409b0
commit 6ed0684eed
3 changed files with 11 additions and 12 deletions

View File

@@ -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