Fix importing inline comment for any diff type

This commit is contained in:
Valery Sizov 2016-12-06 13:46:59 +02:00
parent 54221b5a3b
commit 84f2c219aa

View file

@ -10,11 +10,11 @@ module Bitbucket
end
def old_pos
inline.fetch('from', nil) || 1
inline.fetch('from', nil)
end
def new_pos
inline.fetch('to', nil) || old_pos || 1
inline.fetch('to', nil)
end
def parent_id