We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent affec20 commit 7116241Copy full SHA for 7116241
src/analyze.ts
@@ -537,6 +537,14 @@ extensions:
537
`Wrote pr-diff-range extension pack to ${extensionFilePath}:\n${extensionContents}`,
538
);
539
540
+ // Compute JSON file contents once
541
+ const jsonContents = JSON.stringify(ranges, null, 2);
542
+ const jsonFilePath = path.join(diffRangeDir, "pr-diff-range.json");
543
+ fs.writeFileSync(jsonFilePath, jsonContents);
544
+ logger.debug(
545
+ `Wrote pr-diff-range JSON file to ${jsonFilePath}:\n${jsonContents}`,
546
+ );
547
+
548
return diffRangeDir;
549
}
550
0 commit comments