From aad8fd94c10584fbef39165535d1f05f2c92673a Mon Sep 17 00:00:00 2001 From: Douglas Gubert Date: Fri, 3 Jan 2025 21:17:07 -0300 Subject: [PATCH] chore: fix lint (#34881) --- packages/apps-engine/src/server/ProxiedApp.ts | 8 ++------ .../src/server/runtime/deno/AppsEngineDenoRuntime.ts | 6 +----- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/packages/apps-engine/src/server/ProxiedApp.ts b/packages/apps-engine/src/server/ProxiedApp.ts index 7810ab362422..f98d82cd6d8c 100644 --- a/packages/apps-engine/src/server/ProxiedApp.ts +++ b/packages/apps-engine/src/server/ProxiedApp.ts @@ -1,8 +1,8 @@ -import type { AppManager } from './AppManager'; import { AppStatus } from '../definition/AppStatus'; import { AppsEngineException } from '../definition/exceptions'; import type { IAppAuthorInfo, IAppInfo } from '../definition/metadata'; import { AppMethod } from '../definition/metadata'; +import type { AppManager } from './AppManager'; import { InvalidInstallationError } from './errors/InvalidInstallationError'; import { AppConsole } from './logging'; import { AppLicenseValidationResult } from './marketplace/license'; @@ -15,11 +15,7 @@ export class ProxiedApp { private latestLicenseValidationResult: AppLicenseValidationResult; - constructor( - private readonly manager: AppManager, - private storageItem: IAppStorageItem, - private readonly appRuntime: DenoRuntimeSubprocessController, - ) { + constructor(private readonly manager: AppManager, private storageItem: IAppStorageItem, private readonly appRuntime: DenoRuntimeSubprocessController) { this.previousStatus = storageItem.status; } diff --git a/packages/apps-engine/src/server/runtime/deno/AppsEngineDenoRuntime.ts b/packages/apps-engine/src/server/runtime/deno/AppsEngineDenoRuntime.ts index 277ca15373c0..26ec66a06f9f 100644 --- a/packages/apps-engine/src/server/runtime/deno/AppsEngineDenoRuntime.ts +++ b/packages/apps-engine/src/server/runtime/deno/AppsEngineDenoRuntime.ts @@ -112,11 +112,7 @@ export class DenoRuntimeSubprocessController extends EventEmitter { private readonly livenessManager: LivenessManager; // We need to keep the appSource around in case the Deno process needs to be restarted - constructor( - manager: AppManager, - private readonly appPackage: IParseAppPackageResult, - private readonly storageItem: IAppStorageItem, - ) { + constructor(manager: AppManager, private readonly appPackage: IParseAppPackageResult, private readonly storageItem: IAppStorageItem) { super(); this.debug = baseDebug.extend(appPackage.info.id);