diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f75d5e1..05446f80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ _This release is scheduled to be released on 2020-10-01._ ### Added +- `--dry-run` option adde in fetch call within updatenotification node_helper. This is to prevent + MagicMirror from consuming any fetch result. Causes conflict with MMPM when attempting to check + for updates to MagicMirror and/or MagicMirror modules. - Test coverage with Istanbul, run it with `npm run test:coverage`. - Add lithuanian language. - Added support in weatherforecast for OpenWeather onecall API. diff --git a/modules/default/updatenotification/node_helper.js b/modules/default/updatenotification/node_helper.js index 0c206c5f..973dca51 100644 --- a/modules/default/updatenotification/node_helper.js +++ b/modules/default/updatenotification/node_helper.js @@ -72,7 +72,7 @@ module.exports = NodeHelper.create({ performFetch: function () { var self = this; simpleGits.forEach((sg) => { - sg.git.fetch().status((err, data) => { + sg.git.fetch(["--dry-run"]).status((err, data) => { data.module = sg.module; if (!err) { sg.git.log({ "-1": null }, (err, data2) => {