Skip to content

Commit

Permalink
fix(ecr): Fix typo in ImportRepository error message (#2217)
Browse files Browse the repository at this point in the history
  • Loading branch information
pektinasen authored and Elad Ben-Israel committed Apr 10, 2019
1 parent 22ed67c commit b7c9b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-ecr/lib/repository-ref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class ImportedRepository extends RepositoryBase {
this.repositoryArn = props.repositoryArn;
} else {
if (!props.repositoryName) {
throw new Error('If "repositoruyArn" is not specified, you must specify "repositoryName", ' +
throw new Error('If "repositoryArn" is not specified, you must specify "repositoryName", ' +
'which also implies that the repository resides in the same region/account as this stack');
}

Expand Down

0 comments on commit b7c9b21

Please sign in to comment.