Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

Commit

Permalink
Fix schedule crash
Browse files Browse the repository at this point in the history
  • Loading branch information
vicvancooten committed Nov 8, 2021
1 parent bf345f3 commit 897b6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class Engine {
const newTriggers: { [cron: string]: TriggerType[] } = {};

processes.map((processObject) => {
if (processObject.triggers.time) {
if (processObject.triggers?.time) {
// Create the process

this.processMap[processObject._id.toString()] = new Process(
Expand Down

0 comments on commit 897b6cd

Please sign in to comment.