mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
09a4da6b28
commit
69959a0eb9
1 file changed
+2
-2
@@ -331,7 +331,7 @@ export class ExtensionLoader {
|
|||||||
extId,
|
extId,
|
||||||
instance,
|
instance,
|
||||||
isBundled: extension.isBundled,
|
isBundled: extension.isBundled,
|
||||||
activated: instance.activate()
|
activated: instance.activate(),
|
||||||
};
|
};
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error(`${logModule}: activation extension error`, { ext: extension, err });
|
logger.error(`${logModule}: activation extension error`, { ext: extension, err });
|
||||||
@@ -370,7 +370,7 @@ export class ExtensionLoader {
|
|||||||
|
|
||||||
// Load initial extensions
|
// Load initial extensions
|
||||||
return this.loadExtensions(this.toJSON(), register);
|
return this.loadExtensions(this.toJSON(), register);
|
||||||
}
|
};
|
||||||
|
|
||||||
protected requireExtension(extension: InstalledExtension): LensExtensionConstructor | null {
|
protected requireExtension(extension: InstalledExtension): LensExtensionConstructor | null {
|
||||||
const entryPointName = ipcRenderer ? "renderer" : "main";
|
const entryPointName = ipcRenderer ? "renderer" : "main";
|
||||||
|
|||||||
Reference in new issue
Block a user