Skip to content

Commit

Permalink
fix: declarationsが空配列の場合も後続の処理をスキップする (#5182)
Browse files Browse the repository at this point in the history
  • Loading branch information
moshisora authored Dec 10, 2024
1 parent b1a1bc6 commit fd654f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/smarthr-ui/scripts/exportUIProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ glob(SRC_PATH).then(
const propItem = props[name]
const declarations = propItem.declarations

if (!declarations) {
if (!declarations || declarations.length === 0) {
return propItem
}

Expand Down

0 comments on commit fd654f3

Please sign in to comment.