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:
parent
e6b379358a
commit
6d1a12af4b
@ -188,9 +188,6 @@ function addModule(module) {
|
||||
for (const setName in module.nodes) {
|
||||
if (module.nodes.hasOwnProperty(setName)) {
|
||||
const set = module.nodes[setName];
|
||||
if(setName === 'lower-case') {
|
||||
delete set.types
|
||||
}
|
||||
if (!set.types) {
|
||||
const err = new Error("Set has no types")
|
||||
err.code = "set_has_no_types"
|
||||
|
Loading…
Reference in New Issue
Block a user