Skip to content

Commit

Permalink
fix(deps): bump node-cron from 2.0.3 to 3.0.0 (#258)
Browse files Browse the repository at this point in the history
* chore(deps): bump node-cron from 2.0.3 to 3.0.0

Bumps [node-cron](https://github.com/merencia/node-cron) from 2.0.3 to 3.0.0.
- [Release notes](https://github.com/merencia/node-cron/releases)
- [Commits](node-cron/node-cron@v2.0.3...v3.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): fix tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: WikiRik <WikiRik@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and WikiRik committed Mar 29, 2021
1 parent cea56dd commit 48d6fef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
1 change: 0 additions & 1 deletion lib/cron.js
Expand Up @@ -107,7 +107,6 @@ class JobManager {
}

logger.info({ job: _.pick(job, ['id', 'description', 'rule']) }, 'Cancelling job');
job.job.destroy();
delete this.jobs[id];
}

Expand Down
17 changes: 6 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -81,7 +81,7 @@
"lodash": "^4.17.21",
"moment": "^2.29.1",
"morgan": "^1.9.1",
"node-cron": "^2.0.3",
"node-cron": "^3.0.0",
"on-finished": "^2.3.0",
"pg": "^8.5.1",
"prom-client": "^13.1.0",
Expand Down

0 comments on commit 48d6fef

Please sign in to comment.