Skip to content

Commit

Permalink
Remove trailing spaces from previous change
Browse files Browse the repository at this point in the history
  • Loading branch information
smguggen committed Jul 29, 2021
1 parent 482abb2 commit 725f487
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-cloudfront/lib/web-distribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1154,8 +1154,8 @@ export class CloudFrontWebDistribution extends cdk.Resource implements IDistribu
const originShieldRegion = originConfig.originShieldRegion ??
originConfig.customOriginSource?.originShieldRegion ??
originConfig.s3OriginSource?.originShieldRegion;
return originShieldRegion
? { enabled: true, originShieldRegion }
return originShieldRegion
? { enabled: true, originShieldRegion }
: undefined;
}
}

0 comments on commit 725f487

Please sign in to comment.