mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 16:08:24 +03:00
Remove redundant conditional
This commit is contained in:
parent
ca49d0714c
commit
3c95fbd72c
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user