Project::openAsync always resolves the filePath

This commit is contained in:
probablycorey
2013-10-10 12:01:29 -07:00
parent 5b214bdfd7
commit 3ed0f7bde4

View File

@@ -192,6 +192,7 @@ class Project
#
# Returns a promise that resolves to an {EditSession}.
openAsync: (filePath, options={}) ->
filePath = @resolve(filePath)
resource = null
_.find @openers, (opener) -> resource = opener(filePath, options)