diff --git a/packages/@aws-cdk/service-spec-importers/src/diff-fmt.ts b/packages/@aws-cdk/service-spec-importers/src/diff-fmt.ts index d596d24f..b98df44b 100644 --- a/packages/@aws-cdk/service-spec-importers/src/diff-fmt.ts +++ b/packages/@aws-cdk/service-spec-importers/src/diff-fmt.ts @@ -53,8 +53,8 @@ export class DiffFormatter { listWithCaption( 'resources', [...this.dbs[db].follow('hasResource', s)] - .sort(sortByKey(e => e.entity.name)) - .map((e) => this.renderResource(e.entity, db).prefix([' '])), + .sort(sortByKey((e) => e.entity.name)) + .map((e) => this.renderResource(e.entity, db).prefix([' '])), ), ]); }