mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
added --dry-run option to prevent updatenotification module from consuming fetch result
This commit is contained in:
parent
018cb91526
commit
6f1c7d6253
@ -72,7 +72,7 @@ module.exports = NodeHelper.create({
|
|||||||
performFetch: function () {
|
performFetch: function () {
|
||||||
var self = this;
|
var self = this;
|
||||||
simpleGits.forEach((sg) => {
|
simpleGits.forEach((sg) => {
|
||||||
sg.git.fetch().status((err, data) => {
|
sg.git.fetch(["--dry-run"]).status((err, data) => {
|
||||||
data.module = sg.module;
|
data.module = sg.module;
|
||||||
if (!err) {
|
if (!err) {
|
||||||
sg.git.log({ "-1": null }, (err, data2) => {
|
sg.git.log({ "-1": null }, (err, data2) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user