diff --git a/langchain-core/src/utils/env.ts b/langchain-core/src/utils/env.ts index 14baf93a62b0..3b8d5153847a 100644 --- a/langchain-core/src/utils/env.ts +++ b/langchain-core/src/utils/env.ts @@ -82,6 +82,7 @@ export function getEnvironmentVariable(name: string): string | undefined { // https://github.com/langchain-ai/langchainjs/issues/1412 try { if (typeof process !== "undefined") { + // eslint-disable-next-line no-process-env return process.env?.[name]; } else if (isDeno()) { return Deno?.env.get(name);