There was an error while loading. Please reload this page.
1 parent 8de7fa0 commit 1824790Copy full SHA for 1824790
1 file changed
scripts/pr.ts
@@ -183,7 +183,19 @@ async function runChecks() {
183
: "";
184
}
185
186
- console.log(`Writing ${filename}:`, JSON.stringify(result));
+ console.log(`Checks result:`);
187
+ console.log(
188
+ JSON.stringify(
189
+ result,
190
+ (_, value) =>
191
+ typeof value === "string" && value.length > 60
192
+ ? value.substring(0, 60) + "..."
193
+ : value,
194
+ 2,
195
+ ),
196
+ );
197
+
198
+ console.log(`Writing ${filename}`);
199
fs.writeFileSync(filename, JSON.stringify(result));
200
201
if (failures.length > 0) {
0 commit comments