mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Remove redundant conditional
This commit is contained in:
@@ -108,7 +108,6 @@ class BufferMarker
|
||||
updatePosition: (position, bufferChange, isHead) ->
|
||||
{ oldRange, newRange } = bufferChange
|
||||
|
||||
return position if oldRange.containsPoint(position, exclusive: true)
|
||||
return position if not isHead and oldRange.start.isEqual(position)
|
||||
return position if position.isLessThan(oldRange.end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user