mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Increase flows test coverage
This commit is contained in:
@@ -35,9 +35,8 @@ var activeConfigNodes = {};
|
||||
|
||||
events.on('type-registered',function(type) {
|
||||
if (activeFlow) {
|
||||
if (activeFlow.typeRegistered(type)) {
|
||||
log.info("Missing type registered: "+type);
|
||||
}
|
||||
activeFlow.typeRegistered(type);
|
||||
log.info("Missing type registered: "+type);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -113,7 +112,6 @@ var flowNodes = module.exports = {
|
||||
} else {
|
||||
credentialSavePromise = when.resolve();
|
||||
}
|
||||
|
||||
if (type=="full") {
|
||||
return credentialSavePromise
|
||||
.then(function() { return storage.saveFlows(cleanConfig);})
|
||||
|
Reference in New Issue
Block a user