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:
parent
8c075bfde3
commit
27f9056360
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user