Skip to content

Commit 2dfdbe4

Browse files
committed
fix: format all.json
1 parent b85afda commit 2dfdbe4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/generators/legacy-json-all/index.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ export default {
8383
}
8484

8585
if (output) {
86-
await writeFile(join(output, 'all.json'), JSON.stringify(generatedValue));
86+
await writeFile(
87+
join(output, 'all.json'),
88+
JSON.stringify(generatedValue, null, 2)
89+
);
8790
}
8891

8992
return generatedValue;

0 commit comments

Comments
 (0)