Skip to content
This repository was archived by the owner on Apr 6, 2018. It is now read-only.

Commit be2b4d8

Browse files
committed
fix lint issue
1 parent 44db89a commit be2b4d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/operators/input.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ class InsertCancellable extends Insert
3939

4040
confirmTransaction: (transaction) ->
4141
super
42-
if @typedText?.length == 0
43-
@vimState.history.shift() if @vimState.history[0] is @
42+
if @typedText?.length is 0
43+
@vimState.history.shift() if @vimState.history[0] is this
4444

4545
class InsertAfter extends Insert
4646
execute: ->

0 commit comments

Comments
 (0)