Make sure file name gets passed on in file node

This commit is contained in:
Dave C-J
2014-06-07 08:41:04 +01:00
parent 8e48251f26
commit 346ca21803
2 changed files with 3 additions and 2 deletions

View File

@@ -83,6 +83,7 @@ module.exports = function(RED) {
node.warn(err);
msg.error = err;
} else {
msg.filename = filename;
msg.payload = data;
}
node.send(msg);