diff --git a/red/nodes/registry.js b/red/nodes/registry.js index 7dc7d7f0b..57a15faa3 100644 --- a/red/nodes/registry.js +++ b/red/nodes/registry.js @@ -567,7 +567,7 @@ function load(defaultNodesDir,disableNodePathScan) { var nodes = []; nodeFiles.forEach(function(file) { try { - nodes.push(loadNodeConfig(file)); + nodes.push(loadNodeConfig(file,"node-red",path.basename(file).replace(/^\d+-/,"").replace(/\.js$/,""))); } catch(err) { // }