1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix JSONata in file nodes

This commit is contained in:
Kazuhito Yokoi 2023-07-12 02:36:39 +09:00
parent 69aacc6256
commit 80e33489d9

View File

@ -68,9 +68,12 @@ module.exports = function(RED) {
node.error(err,msg);
return done();
} else {
filename = value;
processMsg2(msg,nodeSend,value,done);
}
});
}
function processMsg2(msg,nodeSend,filename,done) {
filename = filename || "";
msg.filename = filename;
var fullFilename = filename;