mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
extract auth#session into its own proposal file, make isProposedApiEnabled and checkProposedApiEnabled more strict by forcing them to be called with undefined or a proposal name, https://github.com/microsoft/vscode/issues/131165
This commit is contained in:
@@ -502,7 +502,7 @@ class ExtHostSourceControl implements vscode.SourceControl {
|
||||
private _actionButtonDisposables = new MutableDisposable<DisposableStore>();
|
||||
private _actionButton: vscode.Command | undefined;
|
||||
get actionButton(): vscode.Command | undefined {
|
||||
checkProposedApiEnabled(this._extension);
|
||||
checkProposedApiEnabled(this._extension, 'scmActionButton');
|
||||
return this._actionButton;
|
||||
}
|
||||
set actionButton(actionButton: vscode.Command | undefined) {
|
||||
|
||||
Reference in New Issue
Block a user