Merge pull request #3589 from node-red-hitachi/fix-system-info

fix error on system-info action
This commit is contained in:
Stephen McLaughlin 2022-05-05 08:24:24 +01:00 committed by GitHub
commit 5d4e01eea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ function buildDiagnosticReport(scope, callback) {
/** gets a sanitised list containing only the module name */
function listContextModules() {
const keys = Object.keys(runtime.settings.contextStorage);
const keys = Object.keys(runtime.settings.contextStorage || {});
const result = {};
keys.forEach(e => {
result[e] = {