mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-29 12:39:45 +00:00
Merge pull request #2100 from Bee-Mar/develop
Added --dry-run to fetch call within updatednotification module
This commit is contained in:
commit
fd934c0514
@ -11,6 +11,9 @@ _This release is scheduled to be released on 2020-10-01._
|
|||||||
|
|
||||||
### Added
|
### 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`.
|
- Test coverage with Istanbul, run it with `npm run test:coverage`.
|
||||||
- Add lithuanian language.
|
- Add lithuanian language.
|
||||||
- Added support in weatherforecast for OpenWeather onecall API.
|
- Added support in weatherforecast for OpenWeather onecall API.
|
||||||
|
@ -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