mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-09-11 12:25:59 +03:00
Changed 'let' to 'const'.
This commit is contained in:
parent
7c372a6439
commit
667c0cc3bb
@ -558,7 +558,7 @@ export class HistoryTracker {
|
||||
if (this.currentHistoryStepIndex === 0) {
|
||||
return undefined;
|
||||
}
|
||||
let lastChangeIndex = this.historySteps[this.currentHistoryStepIndex].changes.length;
|
||||
const lastChangeIndex = this.historySteps[this.currentHistoryStepIndex].changes.length;
|
||||
if (lastChangeIndex === 0) {
|
||||
return undefined;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user