mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
fix, follow style guide
This commit is contained in:
parent
b044b7ec48
commit
67fbcaf736
@ -42,7 +42,10 @@ class AwsCompileScheduledEvents {
|
||||
}
|
||||
ScheduleExpression = event.schedule.rate;
|
||||
event.schedule.enabled = typeof(event.schedule.enabled) === 'boolean' ? event.schedule.enabled : true;
|
||||
State = event.schedule.enabled ? 'ENABLED' : 'DISABLED';
|
||||
State = 'ENABLED';
|
||||
if(event.schedule.enabled === false) {
|
||||
State = 'DISABLED';
|
||||
}
|
||||
Input = event.schedule.input;
|
||||
InputPath = event.schedule.inputPath;
|
||||
Name = event.schedule.name;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user