mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-14 17:25:28 -05:00
Fixes calling restore() without override()
This commit is contained in:
@@ -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--;
|
||||
|
||||
Reference in New Issue
Block a user