mirror of https://github.com/node-red/node-red.git
Merge pull request #3589 from node-red-hitachi/fix-system-info
fix error on system-info actionpull/3591/head
commit
5d4e01eea6
|
@ -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] = {
|
||||
|
|
Loading…
Reference in New Issue