mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix for missingType(s) - to close #259
(thanks to toksea for spotting it)
This commit is contained in:
parent
35965e55b5
commit
9bc9994354
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
var util = require("util");
|
var util = require("util");
|
||||||
var when = require("when");
|
var when = require("when");
|
||||||
|
|
||||||
var typeRegistry = require("./registry");
|
var typeRegistry = require("./registry");
|
||||||
var credentials = require("./credentials");
|
var credentials = require("./credentials");
|
||||||
var log = require("../log");
|
var log = require("../log");
|
||||||
@ -58,7 +58,7 @@ var parseConfig = function() {
|
|||||||
}
|
}
|
||||||
if (missingTypes.length > 0) {
|
if (missingTypes.length > 0) {
|
||||||
util.log("[red] Waiting for missing types to be registered:");
|
util.log("[red] Waiting for missing types to be registered:");
|
||||||
for (i=0;i<missingType.length;i++) {
|
for (i=0;i<missingTypes.length;i++) {
|
||||||
util.log("[red] - "+missingTypes[i]);
|
util.log("[red] - "+missingTypes[i]);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
@ -154,7 +154,7 @@ var flowNodes = module.exports = {
|
|||||||
addLogHandler: function(handler) {
|
addLogHandler: function(handler) {
|
||||||
logHandlers.push(handler);
|
logHandlers.push(handler);
|
||||||
},
|
},
|
||||||
|
|
||||||
getFlows: function() {
|
getFlows: function() {
|
||||||
return activeConfig;
|
return activeConfig;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user