Always return array from Git.getLineDiffs()

This commit is contained in:
Kevin Sawicki
2013-03-03 11:23:49 -08:00
parent 060ed27a2f
commit 165dffc15d

View File

@@ -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