mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
remove node.done calls to tidy up
bump packages
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
@@ -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" : {
|
||||
},
|
||||
|
Reference in New Issue
Block a user