Default to empty[] args
This commit is contained in:
parent
7ab61ac641
commit
396e7cc747
|
@ -30,7 +30,7 @@ class ScheduledEvent {
|
|||
this.schedule = this.parseScheduleString(events[name].schedule);
|
||||
this.action = this.parseActionSpec(events[name].action);
|
||||
if(this.action) {
|
||||
this.action.args = events[name].args;
|
||||
this.action.args = events[name].args || [];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue