mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
fix error on system-info action
This commit is contained in:
parent
3841039728
commit
c513cff843
@ -165,7 +165,7 @@ function buildDiagnosticReport(scope, callback) {
|
|||||||
|
|
||||||
/** gets a sanitised list containing only the module name */
|
/** gets a sanitised list containing only the module name */
|
||||||
function listContextModules() {
|
function listContextModules() {
|
||||||
const keys = Object.keys(runtime.settings.contextStorage);
|
const keys = Object.keys(runtime.settings.contextStorage || {});
|
||||||
const result = {};
|
const result = {};
|
||||||
keys.forEach(e => {
|
keys.forEach(e => {
|
||||||
result[e] = {
|
result[e] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user