mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-31 17:20:28 -04:00
Merge from vscode 1fbacccbc900bb59ba8a8f26a4128d48a1c97842
This commit is contained in:
@@ -312,9 +312,8 @@ export class TerminalConfigHelper implements IBrowserTerminalConfigHelper {
|
||||
}
|
||||
}
|
||||
|
||||
private isExtensionInstalled(id: string): Promise<boolean> {
|
||||
return this._extensionManagementService.getInstalled(ExtensionType.User).then(extensions => {
|
||||
return extensions.some(e => e.identifier.id === id);
|
||||
});
|
||||
private async isExtensionInstalled(id: string): Promise<boolean> {
|
||||
const extensions = await this._extensionManagementService.getInstalled(ExtensionType.User);
|
||||
return extensions.some(e => e.identifier.id === id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user