added --dry-run option to prevent updatenotification module from consuming fetch result

This commit is contained in:
Brandon Marlowe 2020-07-28 23:51:38 -04:00
parent 018cb91526
commit 6f1c7d6253

View File

@ -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) => {