Skip to content

Commit b7c9b21

Browse files
pektinasenElad Ben-Israel
authored and
Elad Ben-Israel
committed
fix(ecr): Fix typo in ImportRepository error message (#2217)
1 parent 22ed67c commit b7c9b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@aws-cdk/aws-ecr/lib/repository-ref.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ class ImportedRepository extends RepositoryBase {
241241
this.repositoryArn = props.repositoryArn;
242242
} else {
243243
if (!props.repositoryName) {
244-
throw new Error('If "repositoruyArn" is not specified, you must specify "repositoryName", ' +
244+
throw new Error('If "repositoryArn" is not specified, you must specify "repositoryName", ' +
245245
'which also implies that the repository resides in the same region/account as this stack');
246246
}
247247

0 commit comments

Comments
 (0)