mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Tidy up jsHint errors in parser nodes
This commit is contained in:
@@ -33,7 +33,7 @@ module.exports = function(RED) {
|
||||
if (node.split) {
|
||||
var strings = data.toString().split("\n");
|
||||
for (var s in strings) {
|
||||
if (strings[s] != "") {
|
||||
if (strings[s] !== "") {
|
||||
msg.payload = strings[s];
|
||||
node.send(msg);
|
||||
}
|
||||
@@ -50,7 +50,7 @@ module.exports = function(RED) {
|
||||
});
|
||||
|
||||
this.on("close", function() {
|
||||
if (tail) tail.kill();
|
||||
if (tail) { tail.kill(); }
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user