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 29b7932 commit c82cc92Copy full SHA for c82cc92
src/lib/utils.ts
@@ -545,7 +545,7 @@ export function startPdfPolling(ctx: Context) {
545
try {
546
const response = await ctx.client.fetchPdfResults(ctx);
547
548
- if (response.screenshots && response.build?.build_status === constants.BUILD_COMPLETE) {
+ if (response.screenshots && response.build?.build_status !== constants.BUILD_RUNNING) {
549
clearInterval(interval);
550
551
const pdfGroups = groupScreenshotsByPdf(response.screenshots);
0 commit comments