mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Compensate for incomplete config data (e.g. test)
This commit is contained in:
parent
3275a76fb0
commit
1704ab7454
@ -401,7 +401,7 @@ function getModuleInfo(module) {
|
|||||||
m.nodes.push(nodeInfo);
|
m.nodes.push(nodeInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
let plugins = Object.values(moduleConfigs[module].plugins);
|
let plugins = Object.values(moduleConfigs[module].plugins ?? {});
|
||||||
plugins.forEach((plugin) => {
|
plugins.forEach((plugin) => {
|
||||||
let nodeInfo = filterNodeInfo(plugin);
|
let nodeInfo = filterNodeInfo(plugin);
|
||||||
nodeInfo.version = m.version;
|
nodeInfo.version = m.version;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user