From 25de4e4782719853df3ffd9317a613f1de47e93b Mon Sep 17 00:00:00 2001 From: tseigo Date: Tue, 22 Oct 2019 00:24:10 +0900 Subject: [PATCH] Fixed the code format of 70-CSV.js from Tab to Space. try again. --- .../@node-red/nodes/core/parsers/70-CSV.js | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/node_modules/@node-red/nodes/core/parsers/70-CSV.js b/packages/node_modules/@node-red/nodes/core/parsers/70-CSV.js index e8a45a535..290b159a9 100644 --- a/packages/node_modules/@node-red/nodes/core/parsers/70-CSV.js +++ b/packages/node_modules/@node-red/nodes/core/parsers/70-CSV.js @@ -230,17 +230,17 @@ module.exports = function(RED) { node.send(msg); // finally send the array } } - else { - var len = a.length; - for (var i = 0; i < len; i++) { + else { + var len = a.length; + for (var i = 0; i < len; i++) { var newMessage = RED.util.cloneMessage(msg); newMessage.payload = a[i]; if (!has_parts) { - newMessage.parts = { - id: msg._msgid, - index: i, - count: len - }; + newMessage.parts = { + id: msg._msgid, + index: i, + count: len + }; } else { newMessage.parts.index -= node.skip; @@ -251,8 +251,8 @@ module.exports = function(RED) { } } node.send(newMessage); - } - } + } + } node.linecount = 0; } catch(e) { node.error(e,msg); }