Merge pull request #1 from lmammino/patch-2

Using single quotes on empty strings
This commit is contained in:
Kostas Bariotis 2016-11-08 01:57:29 +02:00 committed by GitHub
commit 2a91cfe11c

View File

@ -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"
}]