1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

remove debug/test code

This commit is contained in:
Stephen McLaughlin 2022-10-04 13:36:23 +01:00 committed by GitHub
parent e6b379358a
commit 6d1a12af4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,9 +188,6 @@ function addModule(module) {
for (const setName in module.nodes) { for (const setName in module.nodes) {
if (module.nodes.hasOwnProperty(setName)) { if (module.nodes.hasOwnProperty(setName)) {
const set = module.nodes[setName]; const set = module.nodes[setName];
if(setName === 'lower-case') {
delete set.types
}
if (!set.types) { if (!set.types) {
const err = new Error("Set has no types") const err = new Error("Set has no types")
err.code = "set_has_no_types" err.code = "set_has_no_types"