Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

TS linter issue

Fang-Pen Linc5f5e329e838
diff --git a/backend/src/server/routes/v1/bdd-nock-router.ts b/backend/src/server/routes/v1/bdd-nock-router.ts
index 43c5b6494f..a2c2def2c1 100644
--- a/backend/src/server/routes/v1/bdd-nock-router.ts
+++ b/backend/src/server/routes/v1/bdd-nock-router.ts
@@ -10,6 +10,7 @@ import { AuthMode } from "@app/services/auth/auth-type";
export const registerBddNockRouter = async (server: FastifyZodProvider) => {
const importNock = async () => {
// Notice: it seems like importing nock somehow increase memory usage a lots, let's import it lazily.
+ // eslint-disable-next-line import/no-extraneous-dependencies
const nock = await import("nock");
if (!nock) {
throw new InternalServerError({ message: "Failed to import nock" });