mirror of https://github.com/node-red/node-red.git
When using the file-in node and ‘a msg per line’ the last line does not get msg.topic passed.
In the
.on(‘end’, function() {
code (starting at line 334) the msg is created but no msg.topic is set. Adding
topic:msg.topic,
after line 343 (var m = { payload: spare,) fixes the issue.
|
||
|---|---|---|
| .. | ||
| core | ||
| icons | ||
| locales | ||
| .npmignore | ||
| 99-sample.html.demo | ||
| 99-sample.js.demo | ||
| LICENSE | ||
| README.md | ||
| index.js | ||
| package.json | ||
README.md
@node-red/nodes
Node-RED core nodes module.
This provides all of the core Node-RED nodes.
Source
The main Node-RED modules are maintained as a monorepo on GitHub.