mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Project::openAsync always resolves the filePath
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user