Skip to content

Commit

Permalink
fix for regression when edit verison is null
Browse files Browse the repository at this point in the history
  • Loading branch information
littlebee committed May 9, 2018
1 parent 3ba516f commit dbdd7c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/git-revision-view.coffee
Expand Up @@ -166,6 +166,8 @@ module.exports = class GitRevisionView
).then =>
@rightRevEditor = @sourceEditor
resolve(@sourceEditor)
else
resolve(@sourceEditor)
return

promise = @_createEditorForRevision(revision, fileContents, isLeftRev)
Expand Down

0 comments on commit dbdd7c4

Please sign in to comment.