Skip to content

Commit

Permalink
Fixes Incomplete fix for MagicMirrorOrg#1507
Browse files Browse the repository at this point in the history
  • Loading branch information
shbatm authored Jan 4, 2019
1 parent e224ec4 commit b9d6a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/default/updatenotification/node_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module.exports = NodeHelper.create({
data.module = sg.module;
if (!err) {
sg.git.log({"-1": null}, function(err, data2) {
if (!err) {
if (!err && data2.latest) {
data.hash = data2.latest.hash;
self.sendSocketNotification("STATUS", data);
}
Expand Down

0 comments on commit b9d6a23

Please sign in to comment.