mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Missing variable declaration in tail node
This commit is contained in:
parent
6d54050b4f
commit
3fcc1b5680
@ -32,7 +32,7 @@ module.exports = function(RED) {
|
|||||||
var msg = {topic:node.filename};
|
var msg = {topic:node.filename};
|
||||||
if (node.split) {
|
if (node.split) {
|
||||||
var strings = data.toString().split("\n");
|
var strings = data.toString().split("\n");
|
||||||
for (s in strings) {
|
for (var s in strings) {
|
||||||
if (strings[s] != "") {
|
if (strings[s] != "") {
|
||||||
msg.payload = strings[s];
|
msg.payload = strings[s];
|
||||||
node.send(msg);
|
node.send(msg);
|
||||||
|
Loading…
Reference in New Issue
Block a user