fix: prettify

This commit is contained in:
Dan Conway 2019-10-24 20:02:08 +01:00
parent cbb42ce240
commit a5480ce483
2 changed files with 1 additions and 4 deletions

View File

@ -168,9 +168,7 @@ class AwsCompileCloudFrontEvents {
const existingOrigin = _.find(
origins,
o =>
o.DomainName === origin.DomainName &&
o.OriginPath === origin.OriginPath
o => o.DomainName === origin.DomainName && o.OriginPath === origin.OriginPath
);
if (!existingOrigin) {

View File

@ -412,7 +412,6 @@ describe('AwsCompileCloudFrontEvents', () => {
});
it('should create different origins if for different domains with the same path', () => {
awsCompileCloudFrontEvents.serverless.service.functions = {
first: {
name: 'first',