1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix scope of knownUnknowns variable

This commit is contained in:
Nick O'Leary 2015-06-17 14:27:49 +01:00
parent 3002aead6b
commit 72570e4510

View File

@ -147,10 +147,10 @@ var flowNodes = module.exports = {
var missingTypes = activeFlow.getMissingTypes();
if (missingTypes.length > 0) {
log.info("Waiting for missing types to be registered:");
var knownUnknowns = 0;
for (var i=0;i<missingTypes.length;i++) {
var type = missingTypes[i];
var info = deprecated.get(type);
var knownUnknowns = 0;
if (info) {
log.info(" - "+missingTypes[i]+" (provided by npm module "+info.module+")");
knownUnknowns += 1;