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:
parent
798ad85fad
commit
7561e04213
@ -271,7 +271,7 @@ export class ExtensionLoader {
|
|||||||
loadOnMain() {
|
loadOnMain() {
|
||||||
this.autoInitExtensions(async (extension: LensMainExtension) => {
|
this.autoInitExtensions(async (extension: LensMainExtension) => {
|
||||||
// Check for update for the extension on main process that does not have renderer script
|
// 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);
|
this.checkForExtensionUpdate(extension);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -360,7 +360,7 @@ export class ExtensionLoader {
|
|||||||
const instance = this.dependencies.createExtensionInstance(
|
const instance = this.dependencies.createExtensionInstance(
|
||||||
LensExtensionClass,
|
LensExtensionClass,
|
||||||
extension,
|
extension,
|
||||||
this.extensionUpdateChecker
|
this.extensionUpdateChecker,
|
||||||
);
|
);
|
||||||
|
|
||||||
const loaded = instance.enable(register).catch((err) => {
|
const loaded = instance.enable(register).catch((err) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user