Missing this

pull/113/head
Adam Stachowicz 3 years ago
parent 4c8fdd07d9
commit d97091af51

@ -309,8 +309,8 @@ class Notification {
if (! output.includes("ERROR")) {
return "Sent Successfully";
}
throw new Error(output)
throw new Error(output)
} else {
return ""
}

@ -97,6 +97,7 @@ Ping.prototype.send = function(callback) {
if (stderr) {
return callback(new Error(stderr));
}
if (!stdout) {
return callback(new Error("No stdout detected"));
}

Loading…
Cancel
Save