mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #459 from hindessm/fix-info-id-refactoring-bug
Fix refactoring error; rename info to id.
This commit is contained in:
commit
ccfbd69f24
@ -54,7 +54,7 @@ function init(_settings,storage) {
|
|||||||
function checkTypeInUse(id) {
|
function checkTypeInUse(id) {
|
||||||
var nodeInfo = registry.getNodeInfo(id);
|
var nodeInfo = registry.getNodeInfo(id);
|
||||||
if (!nodeInfo) {
|
if (!nodeInfo) {
|
||||||
throw new Error("Unrecognised id: "+info);
|
throw new Error("Unrecognised id: "+id);
|
||||||
}
|
}
|
||||||
var inUse = {};
|
var inUse = {};
|
||||||
flows.each(function(n) {
|
flows.each(function(n) {
|
||||||
|
Loading…
Reference in New Issue
Block a user