Skip to content

Commit

Permalink
chore: typo fixes (#29475)
Browse files Browse the repository at this point in the history
### Issue # (if applicable)

Closes #<issue number here>.

### Reason for this change



### Description of changes



### Description of how you validated changes



### Checklist
- [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
testwill committed Mar 19, 2024
1 parent 067539a commit 0fee99b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/aws-cdk/lib/commands/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ export class CfnTemplateGeneratorProvider {
}).promise();

if (createTemplateOutput.GeneratedTemplateId === undefined) {
throw new Error('CreateGeneratedTemplate failed to retrun an Arn.');
throw new Error('CreateGeneratedTemplate failed to return an Arn.');
}
return createTemplateOutput;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe('fetchDockerLoginCredentials', () => {
});

describe('SecretsManager', () => {
test('returns the credentials sucessfully if configured correctly - domain', async () => {
test('returns the credentials successfully if configured correctly - domain', async () => {
mockSecretWithSecretString({ username: 'secretUser', secret: 'secretPass' });

const creds = await fetchDockerLoginCredentials(aws, config, 'secret.example.com');
Expand Down

0 comments on commit 0fee99b

Please sign in to comment.