Skip to content

Commit

Permalink
keep empty types
Browse files Browse the repository at this point in the history
  • Loading branch information
hardillb committed Sep 22, 2023
1 parent 962eeb5 commit 91b8766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function update() {
url: "http:https://" + registryHost + "/-/web/details/" + n.name
}

if (moduleDetails.types.length !== 0) {
if (moduleDetails.types.length) {
entry.types = moduleDetails.types
}
if (moduleDetails["node-red"]) {
Expand Down

0 comments on commit 91b8766

Please sign in to comment.