From 6f1c7d62538a2190fd4a87e15c7ea8fb4a2fd48b Mon Sep 17 00:00:00 2001 From: Brandon Marlowe Date: Tue, 28 Jul 2020 23:51:38 -0400 Subject: [PATCH] added --dry-run option to prevent updatenotification module from consuming fetch result --- modules/default/updatenotification/node_helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {