1
0
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:
Dave C-J 2014-07-08 08:49:48 +01:00
parent 35965e55b5
commit 9bc9994354

View File

@ -16,7 +16,7 @@
var util = require("util");
var when = require("when");
var typeRegistry = require("./registry");
var credentials = require("./credentials");
var log = require("../log");
@ -58,7 +58,7 @@ var parseConfig = function() {
}
if (missingTypes.length > 0) {
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]);
}
return;
@ -154,7 +154,7 @@ var flowNodes = module.exports = {
addLogHandler: function(handler) {
logHandlers.push(handler);
},
getFlows: function() {
return activeConfig;
},