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
1 changed files with 1 additions and 1 deletions

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;