Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ To make a change to the node-red runtime being used by K4 avalanche:
6. Run `npm run build`
7. Manually publish to NPM with `npm publish` - Request creds from ops for this

Note: You need xcode installed to be able to install/build/publish this module properly


# CHANGE-LOG

## 0.18.7-patch-10.1
2022-12-7
- Added logging in a catch block with no logging
- Removed subflow ID auto-generation

## 0.18.7-patch-10
2021-07-14
- Updated logic to swap back org to correct value when possible
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@servisbot/node-red",
"version": "0.18.7-patch-10",
"version": "0.18.7-patch-10.1",
"description": "A visual tool for wiring the Internet of Things",
"homepage": "http://nodered.org",
"license": "Apache-2.0",
Expand Down
2 changes: 0 additions & 2 deletions red/runtime/nodes/flows/Flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,8 @@ function createSubflow(sf,sfn,subflows,globalSubflows,activeNodes) {

var createNodeInSubflow = function(def) {
node = clone(def);
var nid = redUtil.generateId();
node_map[node.id] = node;
node._alias = node.id;
node.id = nid;
node.z = sfn.id;
newNodes.push(node);
}
Expand Down
2 changes: 2 additions & 0 deletions red/runtime/nodes/flows/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ function setFlows(_config,type,muteLog,forceStart) {
});
return flowRevision;
}).catch(function(err) {
log.error('setFlows error');
log.error(err);
})
} else {
events.emit("runtime-event",{id:"runtime-deploy",payload:{revision:flowRevision},retain: true});
Expand Down