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

Add status to file node when you overide filename

(so you can see what it writes to... )
This commit is contained in:
dceejay 2015-01-29 15:54:52 +00:00
parent 8c075bfde3
commit 27f9056360

View File

@ -31,6 +31,7 @@ module.exports = function(RED) {
node.warn("Deprecated: msg properties should not override set node properties. See bit.ly/nr-override-msg-props");
}
filename = msg.filename;
node.status({fill:"grey",shape:"dot",text:msg.filename});
} else {
filename = this.filename;
}