Skip to content

Commit

Permalink
chore(credential-provider-node): pass init param to fromEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe authored Jan 29, 2024
1 parent d27301d commit af47d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/credential-provider-node/src/defaultProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const defaultProvider = (init: DefaultProviderInit = {}): MemoizedProvide
async () => {
init.logger?.debug("@aws-sdk/credential-provider-node", "defaultProvider::fromEnv");
const { fromEnv } = await import("@aws-sdk/credential-provider-env");
return fromEnv()();
return fromEnv(init)();
},
]),
async () => {
Expand Down

0 comments on commit af47d62

Please sign in to comment.