Fix ExtensionType

This commit is contained in:
Alex Dima 2020-08-07 11:03:18 +02:00
parent 924ccf2b63
commit 8b8b6d43b9
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0

View file

@ -93,7 +93,7 @@ export class WebExtensionsScannerService extends Disposable implements IWebExten
.map(e => ({
identifier: { id: getGalleryExtensionId(e.packageJSON.publisher, e.packageJSON.name) },
location: e.extensionLocation,
type: ExtensionType.System,
type: e.isBuiltin ? ExtensionType.System : ExtensionType.User,
packageJSON: e.packageJSON,
}))
);