final touch at heap service removal, #74846

This commit is contained in:
Johannes Rieken
2019-06-19 10:58:12 +02:00
parent a409cd27a5
commit c8843e3b0d
5 changed files with 16 additions and 50 deletions

View File

@@ -427,7 +427,7 @@ class ExtHostSourceControl implements vscode.SourceControl {
this._acceptInputCommand = acceptInputCommand;
const internal = this._commands.converter.toInternal2(acceptInputCommand, this._acceptInputDisposables.value);
const internal = this._commands.converter.toInternal(acceptInputCommand, this._acceptInputDisposables.value);
this._proxy.$updateSourceControl(this.handle, { acceptInputCommand: internal });
}
@@ -447,7 +447,7 @@ class ExtHostSourceControl implements vscode.SourceControl {
this._statusBarCommands = statusBarCommands;
const internal = (statusBarCommands || []).map(c => this._commands.converter.toInternal2(c, this._statusBarDisposables.value!)) as CommandDto[];
const internal = (statusBarCommands || []).map(c => this._commands.converter.toInternal(c, this._statusBarDisposables.value!)) as CommandDto[];
this._proxy.$updateSourceControl(this.handle, { statusBarCommands: internal });
}