diff --git a/src/app/project.coffee b/src/app/project.coffee index 1c3009c97..3e590ce43 100644 --- a/src/app/project.coffee +++ b/src/app/project.coffee @@ -267,6 +267,7 @@ class Project # # Returns the {Buffer}. buildBuffer: (filePath, initialText) -> + filePath = @resolve(filePath) if filePath? buffer = new TextBuffer({project: this, filePath, initialText}) @addBuffer(buffer) @trigger 'buffer-created', buffer