We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c02f810 commit 867ae41Copy full SHA for 867ae41
1 file changed
src/internalPreview.ts
@@ -347,6 +347,7 @@ async function main() {
347
const cached = state.codegenDiffCache[lang];
348
if (cached) {
349
head.hasDiff = cached.hasDiff;
350
+ base.hasDiff = head.hasDiff;
351
head.codegenCompareUrl = cached.compareUrl;
352
head.diffStats = cached.diffStats ?? undefined;
353
}
@@ -355,6 +356,7 @@ async function main() {
355
356
const headTreeOid = head.commit?.completed?.commit?.tree_oid;
357
if (baseTreeOid && headTreeOid) {
358
head.hasDiff = baseTreeOid !== headTreeOid;
359
360
361
// On first detection of a diff, clone and diff the repo to get stats.
362
if (
0 commit comments