mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
fix: prettify
This commit is contained in:
parent
cbb42ce240
commit
a5480ce483
@ -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) {
|
||||
|
||||
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user