Fix importing inline comment for any diff type
This commit is contained in:
parent
54221b5a3b
commit
84f2c219aa
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue