This commit is contained in:
shbatm 2019-01-04 12:37:58 -06:00 committed by GitHub
parent e224ec4ae0
commit b9d6a235e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ module.exports = NodeHelper.create({
data.module = sg.module; data.module = sg.module;
if (!err) { if (!err) {
sg.git.log({"-1": null}, function(err, data2) { sg.git.log({"-1": null}, function(err, data2) {
if (!err) { if (!err && data2.latest) {
data.hash = data2.latest.hash; data.hash = data2.latest.hash;
self.sendSocketNotification("STATUS", data); self.sendSocketNotification("STATUS", data);
} }