mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix lint.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
parent
09a4da6b28
commit
69959a0eb9
@ -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";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user