mirror of
https://github.com/Microsoft/vscode
synced 2024-09-19 18:48:00 +00:00
parent
e145a12888
commit
002db8f362
|
@ -444,7 +444,9 @@ export class WebExtensionsScannerService extends Disposable implements IWebExten
|
|||
|
||||
async addExtension(location: URI, metadata: Metadata, profileLocation?: URI): Promise<IScannedExtension> {
|
||||
const webExtension = await this.toWebExtension(location, undefined, undefined, undefined, undefined, undefined, undefined, metadata);
|
||||
return this.addWebExtension(webExtension, profileLocation);
|
||||
const extension = await this.toScannedExtension(webExtension, false);
|
||||
await this.addToInstalledExtensions([webExtension], profileLocation);
|
||||
return extension;
|
||||
}
|
||||
|
||||
async removeExtension(extension: IScannedExtension, profileLocation?: URI): Promise<void> {
|
||||
|
|
Loading…
Reference in a new issue