mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Always return array from Git.getLineDiffs()
This commit is contained in:
@@ -144,7 +144,7 @@ class Git
|
||||
@getRepo().getAheadBehindCounts()
|
||||
|
||||
getLineDiffs: (path, text) ->
|
||||
@getRepo().getLineDiffs(@relativize(path), text)
|
||||
@getRepo().getLineDiffs(@relativize(path), text) ? []
|
||||
|
||||
_.extend Git.prototype, Subscriber
|
||||
_.extend Git.prototype, EventEmitter
|
||||
|
||||
Reference in New Issue
Block a user