mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Restore relative path as uri of TextBuffer
This commit is contained in:
@@ -164,7 +164,7 @@ class TextBuffer extends Model
|
||||
@file?.getPath()
|
||||
|
||||
getUri: ->
|
||||
@getPath()
|
||||
atom.project.relativize(@getPath())
|
||||
|
||||
# Sets the path for the file.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user