mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
fix grunt complaint
This commit is contained in:
parent
8e5c6db8f4
commit
a06b728c8a
@ -34,7 +34,7 @@ module.exports = function(RED) {
|
||||
function inputlistener(msg) {
|
||||
if (msg != null) {
|
||||
if (msg.hasOwnProperty("stop")) {
|
||||
this.stopped = true;
|
||||
node.stopped = true;
|
||||
if (node.running) {
|
||||
node.child.kill(node.closer);
|
||||
}
|
||||
@ -46,7 +46,7 @@ module.exports = function(RED) {
|
||||
node.child.kill(msg.kill.toUpperCase());
|
||||
}
|
||||
else if (msg.hasOwnProperty("start")) {
|
||||
this.stopped = false;
|
||||
node.stopped = false;
|
||||
if (!node.running) {
|
||||
let args = "";
|
||||
if (msg.hasOwnProperty("args") && msg.args.length > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user