From 856189fa94133146cf65af08e384f14e010c0084 Mon Sep 17 00:00:00 2001 From: Luciano Mammino Date: Mon, 7 Nov 2016 23:36:47 +0000 Subject: [PATCH] Using single quotes on empty strings --- lib/plugins/aws/deploy/compile/events/schedule/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugins/aws/deploy/compile/events/schedule/index.js b/lib/plugins/aws/deploy/compile/events/schedule/index.js index 906fc8f14..97677a219 100644 --- a/lib/plugins/aws/deploy/compile/events/schedule/index.js +++ b/lib/plugins/aws/deploy/compile/events/schedule/index.js @@ -83,8 +83,8 @@ class AwsCompileScheduledEvents { "ScheduleExpression": "${ScheduleExpression}", "State": "${State}", "Targets": [{ - ${Input ? `"Input": "${Input}",` : ``} - ${InputPath ? `"InputPath": "${InputPath}",` : ``} + ${Input ? `"Input": "${Input}",` : ''} + ${InputPath ? `"InputPath": "${InputPath}",` : ''} "Arn": { "Fn::GetAtt": ["${normalizedFunctionName}LambdaFunction", "Arn"] }, "Id": "${functionName}Schedule" }]