mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 10:26:35 +00:00
Linter issue
This commit is contained in:
@@ -17,6 +17,7 @@ if (process.env.NODE_ENV === "production") {
|
|||||||
export const registerBddNockRouter = async (server: FastifyZodProvider) => {
|
export const registerBddNockRouter = async (server: FastifyZodProvider) => {
|
||||||
const appCfg = getConfig();
|
const appCfg = getConfig();
|
||||||
const importNock = async () => {
|
const importNock = async () => {
|
||||||
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||||
const { default: nock } = await import("nock");
|
const { default: nock } = await import("nock");
|
||||||
return nock;
|
return nock;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
export const registerBddNockRouter = async (server: FastifyZodProvider) => {
|
export const registerBddNockRouter = async () => {
|
||||||
throw new Error("BDD Nock should not be enabled in production");
|
throw new Error("BDD Nock should not be enabled in production");
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user