Commit 84f2c219 authored by Valery Sizov's avatar Valery Sizov

Fix importing inline comment for any diff type

parent 54221b5a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment