From b4839dc676c8b89a3f51d9b7a30ea6066639deed Mon Sep 17 00:00:00 2001 From: parthlambdatest Date: Thu, 19 Sep 2024 18:08:06 +0530 Subject: [PATCH] code clean up --- src/lib/ctx.ts | 4 ++-- src/lib/processSnapshot.ts | 17 +++++++++-------- src/types.ts | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/lib/ctx.ts b/src/lib/ctx.ts index f790f3c..6fbc097 100644 --- a/src/lib/ctx.ts +++ b/src/lib/ctx.ts @@ -11,8 +11,8 @@ export default (options: Record): Context => { let env: Env = getEnv(); let webConfig: WebConfig; let mobileConfig: MobileConfig; - let basicAuthObj: basicAuth - let requestHeaderObj: authToken + let basicAuthObj: basicAuth; + let requestHeaderObj: authToken; let config = constants.DEFAULT_CONFIG; let port: number; let resolutionOff: boolean; diff --git a/src/lib/processSnapshot.ts b/src/lib/processSnapshot.ts index 1921ac1..09745a2 100644 --- a/src/lib/processSnapshot.ts +++ b/src/lib/processSnapshot.ts @@ -146,18 +146,19 @@ async function processSnapshot(snapshot: Snapshot, ctx: Context): Promise; basicAuthorization: basicAuth | undefined; - requestHeaders: authToken | undefined + requestHeaders: authToken | undefined; }; uploadFilePath: string;