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:
parent
69aacc6256
commit
80e33489d9
@ -68,9 +68,12 @@ module.exports = function(RED) {
|
|||||||
node.error(err,msg);
|
node.error(err,msg);
|
||||||
return done();
|
return done();
|
||||||
} else {
|
} else {
|
||||||
filename = value;
|
processMsg2(msg,nodeSend,value,done);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function processMsg2(msg,nodeSend,filename,done) {
|
||||||
filename = filename || "";
|
filename = filename || "";
|
||||||
msg.filename = filename;
|
msg.filename = filename;
|
||||||
var fullFilename = filename;
|
var fullFilename = filename;
|
||||||
|
Loading…
Reference in New Issue
Block a user