Update packages/node_modules/@node-red/editor-client/src/js/ui/deploy.js

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
This commit is contained in:
Hiroyasu Nishiyama 2022-12-06 10:25:38 +09:00 committed by GitHub
parent 72ae375e44
commit 707b831c30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ RED.deploy = (function() {
const unusedConfigNodes = [];
RED.nodes.eachConfig(function (node) {
if ((node._def.hasUsers !== false) && (node.users.length === 0) && (node.type !== "global-config")) {
if ((node._def.hasUsers !== false) && (node.users.length === 0)) {
unusedConfigNodes.push(getNodeInfo(node));
hasUnusedConfig = true;
}