Changed 'let' to 'const'.

This commit is contained in:
westim 2017-09-26 21:12:17 -04:00
parent 7c372a6439
commit 667c0cc3bb

View File

@ -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;
}