mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Merge pull request #1 from lmammino/patch-2
Using single quotes on empty strings
This commit is contained in:
commit
2a91cfe11c
@ -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"
|
||||
}]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user