mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
clean up whitespace on daemon args
cause less errors if any trailing whitespace removed,
This commit is contained in:
parent
ba488aa4c1
commit
eb17e6533e
@ -21,7 +21,7 @@ module.exports = function(RED) {
|
|||||||
function DaemonNode(n) {
|
function DaemonNode(n) {
|
||||||
RED.nodes.createNode(this,n);
|
RED.nodes.createNode(this,n);
|
||||||
this.cmd = n.command;
|
this.cmd = n.command;
|
||||||
this.args = n.args.split(" ") || [];
|
this.args = n.args.trim().split(" ") || [];
|
||||||
this.cr = n.cr;
|
this.cr = n.cr;
|
||||||
this.op = n.op;
|
this.op = n.op;
|
||||||
this.redo = n.redo;
|
this.redo = n.redo;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name" : "node-red-node-daemon",
|
"name" : "node-red-node-daemon",
|
||||||
"version" : "0.0.5",
|
"version" : "0.0.6",
|
||||||
"description" : "A Node-RED node that runs and monitors a long running system command.",
|
"description" : "A Node-RED node that runs and monitors a long running system command.",
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user