Skip to content

Commit 2d34671

Browse files
committed
Better logs/error handling
1 parent 670c790 commit 2d34671

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/template/scripts/generate-sdk-type-reference.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,8 +883,9 @@ function main() {
883883
for (const category of ['objects', 'types', 'hooks', 'mixins']) {
884884
const filePath = path.join(OUTPUT_DIR, `${category}.json`);
885885
fs.writeFileSync(filePath, JSON.stringify(docs[category], null, 2));
886+
console.log(` Generated ${category}.json`);
886887
}
887-
console.log(`SDK docs JSON generated at ${OUTPUT_DIR}`);
888+
console.log(`SDK type reference generated at ${OUTPUT_DIR}`);
888889
}
889890

890891
main();

0 commit comments

Comments
 (0)