Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed Jan 23, 2023
1 parent 17cd0e0 commit b44f1a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function getAwsConfigFromOptionsOrFile(options: {
}

return {
credentials: await loawAwsCredentials(profile),
credentials: await loadAwsCredentials(profile),
region: region,
};
}
Expand All @@ -53,7 +53,7 @@ export async function getAwsConfigFromOptionsOrFile(options: {
* Loads the environment variables from the .env file
* @param path Path to the .env file
*/
async function loawAwsCredentials(profile: string = 'default'): Promise<AWSConfig['credentials'] | undefined> {
async function loadAwsCredentials(profile: string = 'default'): Promise<AWSConfig['credentials'] | undefined> {
const configFiles = await loadSharedConfigFiles();

const credentialsFile = configFiles.credentialsFile;
Expand Down

0 comments on commit b44f1a2

Please sign in to comment.