Skip to content

Commit

Permalink
#1306: remove empty entry from explainTypes json response
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed May 8, 2024
1 parent fe5b975 commit 9169c1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/util/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,10 @@ const Cli = {

for (const apiName of apiNameArr) {
const details = MetadataDefinitions[apiName];
if (!details.type) {
// we created the main type transactional message but don't want to show it here
continue;
}
const supportCheckClass = apiName.startsWith('transactional')
? TransactionalMessage
: MetadataTypeInfo[apiName];
Expand Down

0 comments on commit 9169c1d

Please sign in to comment.