Skip to content

Commit ecd22ce

Browse files
JacksonTianpull[bot]
authored andcommitted
lib: fix type error for _refreshLine
PR-URL: #52133 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent bf4eff4 commit ecd22ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/readline/interface.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ class Interface extends InterfaceConstructor {
685685
this.cursor,
686686
this.line.length);
687687
this.cursor = this.cursor - completeOn.length + prefix.length;
688-
this._refreshLine();
688+
this[kRefreshLine]();
689689
return;
690690
}
691691

0 commit comments

Comments
 (0)