From 396e7cc747481a21cffe2f42297b1b7c0d6a6477 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Mon, 4 Jul 2016 12:57:49 -0600 Subject: [PATCH] Default to empty[] args --- core/event_scheduler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/event_scheduler.js b/core/event_scheduler.js index b4243a7a..e6f94bd1 100644 --- a/core/event_scheduler.js +++ b/core/event_scheduler.js @@ -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 || []; } }