Commit aab4b1fc authored by Valery Sizov's avatar Valery Sizov
Browse files

Fix importing inline comment for any diff type

parent 63d68d1c3d1f
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
end end
def old_pos def old_pos
inline.fetch('from', nil) || 1 inline.fetch('from', nil)
end end
def new_pos def new_pos
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
end end
def new_pos def new_pos
inline.fetch('to', nil) || old_pos || 1 inline.fetch('to', nil)
end end
def parent_id def parent_id
......
Supports Markdown
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