fix: use msg not m

This commit is contained in:
Steve-Mcl 2024-04-16 12:24:44 +01:00
parent 94a999ba52
commit 253de14967

View File

@ -415,9 +415,9 @@ module.exports = function(RED) {
.on('end', function() {
if (node.chunk === false) {
if (node.format === "utf8") {
RED.util.setMessageProperty(m,node.propertyOut,decode(lines, node.encoding));
RED.util.setMessageProperty(msg,node.propertyOut,decode(lines, node.encoding));
} else {
RED.util.setMessageProperty(m,node.propertyOut,lines);
RED.util.setMessageProperty(msg,node.propertyOut,lines);
}
nodeSend(msg);
}