From d4b16a12c2b04d5d0bddacd2a611ff2ff419b63e Mon Sep 17 00:00:00 2001 From: bryan pedlar Date: Sat, 19 Nov 2016 19:24:02 -0500 Subject: [PATCH] fixed linting errors --- .../aws/deploy/compile/functions/index.js | 2 +- .../deploy/compile/functions/tests/index.js | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/plugins/aws/deploy/compile/functions/index.js b/lib/plugins/aws/deploy/compile/functions/index.js index 9bbaeb98b..7524a157a 100644 --- a/lib/plugins/aws/deploy/compile/functions/index.js +++ b/lib/plugins/aws/deploy/compile/functions/index.js @@ -151,7 +151,7 @@ class AwsCompileFunctions { S3Key: 'S3Key', }, Environment: { - Variables:{} + Variables: {}, }, FunctionName: 'FunctionName', Handler: 'Handler', diff --git a/lib/plugins/aws/deploy/compile/functions/tests/index.js b/lib/plugins/aws/deploy/compile/functions/tests/index.js index 467274730..76ab7d3db 100644 --- a/lib/plugins/aws/deploy/compile/functions/tests/index.js +++ b/lib/plugins/aws/deploy/compile/functions/tests/index.js @@ -298,7 +298,7 @@ describe('AwsCompileFunctions', () => { S3Bucket: { Ref: 'ServerlessDeploymentBucket' }, }, Environment: { - Variables:{} + Variables: {}, }, FunctionName: 'new-service-dev-func', Handler: 'func.function.handler', @@ -338,7 +338,7 @@ describe('AwsCompileFunctions', () => { }, FunctionName: 'new-service-dev-func', Environment: { - Variables:{} + Variables: {}, }, Handler: 'func.function.handler', MemorySize: 1024, @@ -380,7 +380,7 @@ describe('AwsCompileFunctions', () => { awsCompileFunctions.serverless.service.provider.environment = { "providerTest1":"providerTest1" - } + }; const compliedFunction = { Type: 'AWS::Lambda::Function', @@ -392,7 +392,7 @@ describe('AwsCompileFunctions', () => { }, FunctionName: 'new-service-dev-func', Environment: { - Variables:{} + Variables: {}, }, Handler: 'func.function.handler', MemorySize: 1024, @@ -442,7 +442,7 @@ describe('AwsCompileFunctions', () => { }, FunctionName: 'customized-func-function', Environment: { - Variables:{} + Variables: {}, }, Handler: 'func.function.handler', MemorySize: 128, @@ -481,7 +481,7 @@ describe('AwsCompileFunctions', () => { S3Bucket: { Ref: 'ServerlessDeploymentBucket' }, }, Environment: { - Variables:{} + Variables: {}, }, FunctionName: 'new-service-dev-func', Handler: 'func.function.handler', @@ -515,7 +515,7 @@ describe('AwsCompileFunctions', () => { S3Bucket: { Ref: 'ServerlessDeploymentBucket' }, }, Environment: { - Variables:{} + Variables: {}, }, FunctionName: 'new-service-dev-func', Handler: 'func.function.handler', @@ -553,7 +553,7 @@ describe('AwsCompileFunctions', () => { S3Bucket: { Ref: 'ServerlessDeploymentBucket' }, }, Environment: { - Variables:{} + Variables: {}, }, FunctionName: 'new-service-dev-func', Handler: 'func.function.handler', @@ -593,7 +593,7 @@ describe('AwsCompileFunctions', () => { S3Bucket: bucketName, }, Environment: { - Variables:{} + Variables: {}, }, FunctionName: 'new-service-dev-func', Handler: 'func.function.handler',