From 91b8766f0d7c54997c10f9d49757cc5bd51a2ff0 Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Fri, 22 Sep 2023 15:21:17 +0100 Subject: [PATCH] keep empty types --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 47def4b..65f9054 100644 --- a/index.js +++ b/index.js @@ -77,7 +77,7 @@ function update() { url: "http://" + registryHost + "/-/web/details/" + n.name } - if (moduleDetails.types.length !== 0) { + if (moduleDetails.types.length) { entry.types = moduleDetails.types } if (moduleDetails["node-red"]) {