Browse Source

Fixes calling restore() without override()

main
Eric Amodio 7 years ago
parent
commit
589ec6cef3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/whitespaceController.ts

+ 1
- 1
src/whitespaceController.ts View File

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

Loading…
Cancel
Save