Pārlūkot izejas kodu

Fixes calling restore() without override()

main
Eric Amodio pirms 8 gadiem
vecāks
revīzija
589ec6cef3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/whitespaceController.ts

+ 1
- 1
src/whitespaceController.ts Parādīt failu

@ -93,7 +93,7 @@ export default class WhitespaceController extends Disposable {
}
restore() {
if (this._disposed) return;
if (this._disposed || this._count === 0) return;
Logger.log(`Request whitespace restore; count=${this._count}`);
this._count--;

Notiek ielāde…
Atcelt
Saglabāt