Skip to content

Commit

Permalink
Merge branch 'main' into pipes-vpc-endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored May 29, 2024
2 parents 1571439 + a3a1d3a commit 2cd93bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-ecs/lib/base/base-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ export abstract class BaseService extends Resource
const arn = stack.splitArn(serviceArn, ArnFormat.SLASH_RESOURCE_NAME);
const resourceName = arn.resourceName;
if (!resourceName) {
throw new Error('Missing resource Name from service ARN: ${serviceArn}');
throw new Error(`Missing resource Name from service ARN: ${serviceArn}`);
}
const resourceNameParts = resourceName.split('/');
if (resourceNameParts.length !== 2) {
Expand Down

0 comments on commit 2cd93bf

Please sign in to comment.