Skip to content

Commit

Permalink
Merge pull request #1509 from shbatm/bug-fix
Browse files Browse the repository at this point in the history
Fixes Incomplete fix for #1507
  • Loading branch information
MichMich authored Jan 5, 2019
2 parents ebc57fe + 1f62b8f commit 4686bb5
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 && "hash" in data2.latest) {
data.hash = data2.latest.hash;
self.sendSocketNotification("STATUS", data);
}
Expand Down

0 comments on commit 4686bb5

Please sign in to comment.