remove node.done calls to tidy up

bump packages
This commit is contained in:
Dave Conway-Jones
2019-06-27 22:26:50 +01:00
parent f32f578c09
commit 8cf3c8b990
10 changed files with 1197 additions and 195 deletions

View File

@@ -118,7 +118,7 @@ module.exports = function(RED) {
node.running = false;
node.status({fill:"red",shape:"circle",text:""});
if (RED.settings.verbose) { node.log("closed"); }
if (node.done) { node.done(); }
if (node.finished) { node.finished(); }
});
node.child.on('error', function (err) {
@@ -131,7 +131,7 @@ module.exports = function(RED) {
LedBorgInUse = false;
node.status({fill:"red",shape:"circle",text:""});
if (node.child != null) {
node.done = done;
node.fisnished = done;
node.child.stdin.write(" close 11");
node.child.kill('SIGKILL');
}

View File

@@ -1,6 +1,6 @@
{
"name" : "node-red-node-ledborg",
"version" : "0.0.21",
"version" : "0.0.22",
"description" : "A Node-RED node to control a PiBorg LedBorg board for a Raspberry Pi.",
"dependencies" : {
},