Missing variable declaration in tail node

This commit is contained in:
Nick O'Leary 2014-06-27 12:29:00 +01:00
parent 6d54050b4f
commit 3fcc1b5680
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ module.exports = function(RED) {
var msg = {topic:node.filename};
if (node.split) {
var strings = data.toString().split("\n");
for (s in strings) {
for (var s in strings) {
if (strings[s] != "") {
msg.payload = strings[s];
node.send(msg);