1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/nodes
Mark Hindess 0d9abbb8b6 Minor fixes to messages sent from "file in" nodes.
Specifically:

* in the error case, set msg.filename to be the name of the file used (as
  is done in the non-error case),

* in the error case, delete msg.payload so that subsequent nodes only need
  check for a msg.payload to act upon if they don't care about error cases,
  and

* in the non-error case, delete msg.error to avoid passing through errors
  from earlier nodes to a subsequent node that does care about error cases

Messages sent will now always have well-defined behaviour with respect to
the payload, filename, and error in both error and non-error cases.
2014-10-09 11:19:14 +01:00
..
core Minor fixes to messages sent from "file in" nodes. 2014-10-09 11:19:14 +01:00
99-sample.html.demo Expand the non-functional sample to have an input to make it more useful 2014-09-18 17:06:35 +01:00
99-sample.js.demo Missing brackets in sample node 2014-09-23 23:15:34 +01:00