Skip to content

Commit

Permalink
Unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
terafin committed Mar 1, 2020
1 parent 7b16348 commit 8cc1653
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/scheduled-jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const doSchedule = function(rule_name, jobName, date, rule, otherwise) {
logging.debug('* scheduled job fired: ' + rule_name + ' (schedule: ' + utilities.logDate(date) + ')')
}

const scheduleAction = function(err, context) {
const scheduleAction = function(context) {
evaluation.evalulateValue(
null,
context,
Expand All @@ -45,7 +45,7 @@ const doSchedule = function(rule_name, jobName, date, rule, otherwise) {
}

global.generateContext(null, null, function(outTopic, outMessage, context) {
scheduleAction(null, context)
scheduleAction(context)
})
}.bind(null, rule))

Expand Down

0 comments on commit 8cc1653

Please sign in to comment.