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:
parent
3002aead6b
commit
72570e4510
@ -147,10 +147,10 @@ var flowNodes = module.exports = {
|
|||||||
var missingTypes = activeFlow.getMissingTypes();
|
var missingTypes = activeFlow.getMissingTypes();
|
||||||
if (missingTypes.length > 0) {
|
if (missingTypes.length > 0) {
|
||||||
log.info("Waiting for missing types to be registered:");
|
log.info("Waiting for missing types to be registered:");
|
||||||
|
var knownUnknowns = 0;
|
||||||
for (var i=0;i<missingTypes.length;i++) {
|
for (var i=0;i<missingTypes.length;i++) {
|
||||||
var type = missingTypes[i];
|
var type = missingTypes[i];
|
||||||
var info = deprecated.get(type);
|
var info = deprecated.get(type);
|
||||||
var knownUnknowns = 0;
|
|
||||||
if (info) {
|
if (info) {
|
||||||
log.info(" - "+missingTypes[i]+" (provided by npm module "+info.module+")");
|
log.info(" - "+missingTypes[i]+" (provided by npm module "+info.module+")");
|
||||||
knownUnknowns += 1;
|
knownUnknowns += 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user