From 0f86a9524e1a806944cbc85cc8fc2b4bbf7fcb0d Mon Sep 17 00:00:00 2001 From: "Ryan S. Brown" Date: Tue, 8 Nov 2016 15:32:37 -0500 Subject: [PATCH] Fix linting --- lib/plugins/aws/deploy/compile/functions/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugins/aws/deploy/compile/functions/index.js b/lib/plugins/aws/deploy/compile/functions/index.js index 3d4ff6b66..5a40ae1a2 100644 --- a/lib/plugins/aws/deploy/compile/functions/index.js +++ b/lib/plugins/aws/deploy/compile/functions/index.js @@ -142,7 +142,7 @@ class AwsCompileFunctions { hash.end(); newVersion.Properties.CodeSha256 = hash.read(); - newVersion.Properties.FunctionName = { 'Ref': functionLogicalId }; + newVersion.Properties.FunctionName = { Ref: functionLogicalId }; const normalSha = newVersion.Properties.CodeSha256.replace(/[^0-9a-z]/gi, ''); @@ -168,7 +168,7 @@ class AwsCompileFunctions { newOutputObject); const newVersionOutput = this.cfOutputLatestVersionTemplate(); - newVersionOutput.Value = { 'Ref': versionLogicalId }; + newVersionOutput.Value = { Ref: versionLogicalId }; _.merge(this.serverless.service.provider.compiledCloudFormationTemplate.Outputs, { [`${functionLogicalId}QualifiedArn`]: newVersionOutput,