Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Dec 5, 2024
1 parent b300f7d commit d5773f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions langchain-core/src/utils/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d5773f4

Please sign in to comment.