1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix lint issues

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala 2022-01-18 14:53:11 +02:00
parent 798ad85fad
commit 7561e04213

View File

@ -271,7 +271,7 @@ export class ExtensionLoader {
loadOnMain() {
this.autoInitExtensions(async (extension: LensMainExtension) => {
// Check for update for the extension on main process that does not have renderer script
if (extension.isBundled || !extension.manifest.renderer) {
if (extension.isBundled || !extension.manifest.renderer) {
this.checkForExtensionUpdate(extension);
}
@ -360,7 +360,7 @@ export class ExtensionLoader {
const instance = this.dependencies.createExtensionInstance(
LensExtensionClass,
extension,
this.extensionUpdateChecker
this.extensionUpdateChecker,
);
const loaded = instance.enable(register).catch((err) => {