Skip to content

Commit

Permalink
fix: coverage uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
agoldis committed Sep 11, 2023
1 parent 11268e2 commit 6a26e40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cypress-cloud/lib/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export async function uploadArtifacts({
coverageUploadUrl,
});

const totalUploads = (videoPath ? 1 : 0) + screenshots.length;
const totalUploads =
(videoPath ? 1 : 0) + screenshots.length + (coverageUploadUrl ? 1 : 0);
if (totalUploads === 0) {
// info("Nothing to upload");
return;
Expand Down

0 comments on commit 6a26e40

Please sign in to comment.