From 4abaa44ee4e2b434af5288eadbf32aa7ba830ff1 Mon Sep 17 00:00:00 2001 From: Northword Date: Wed, 18 Dec 2024 20:52:07 +0800 Subject: [PATCH] style: lint --- src/core/tester.ts | 2 +- src/utils/zotero/remote-zotero.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/tester.ts b/src/core/tester.ts index 9a53423..4380eb3 100644 --- a/src/core/tester.ts +++ b/src/core/tester.ts @@ -1,7 +1,7 @@ import type { Context } from "../types/index.js"; import http from "node:http"; import { join, resolve } from "node:path"; -import process, { cwd } from "node:process"; +import process from "node:process"; import { build } from "esbuild"; import { copy, emptyDir, outputFile, outputJSON, pathExists } from "fs-extra/esm"; import { isCI } from "std-env"; diff --git a/src/utils/zotero/remote-zotero.ts b/src/utils/zotero/remote-zotero.ts index ddd8252..ad4cdd5 100644 --- a/src/utils/zotero/remote-zotero.ts +++ b/src/utils/zotero/remote-zotero.ts @@ -84,7 +84,7 @@ export class RemoteFirefox { return this.client; } catch (error: any) { - logger.fail('Failed to connecte to RDP client, retry...') + logger.fail("Failed to connecte to RDP client, retry..."); if (isErrorWithCode("ECONNREFUSED", error)) { await new Promise(resolve => setTimeout(resolve, RETRY_INTERVAL)); lastError = error;