Skip to content

Commit 2633ee2

Browse files
committed
fix fetch-pdf-results for smart-ignore
1 parent ba3fcbc commit 2633ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ export function startPdfPolling(ctx: Context) {
545545
try {
546546
const response = await ctx.client.fetchPdfResults(ctx);
547547

548-
if (response.screenshots) {
548+
if (response.screenshots && response.build?.build_status === constants.BUILD_COMPLETE) {
549549
clearInterval(interval);
550550

551551
const pdfGroups = groupScreenshotsByPdf(response.screenshots);

0 commit comments

Comments
 (0)