Update packages/artifact/src/internal/find/list-artifacts.ts

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
functionstackx
2025-10-17 18:05:06 -04:00
committed by GitHub
co-authored by Copilot
parent 70e79399a2
commit fb592eec03
@@ -59,7 +59,7 @@ export async function listArtifactsPublic(
const totalArtifactCount = listArtifactResponse.total_count
if (totalArtifactCount > maximumArtifactCount) {
warning(
`Workflow run ${workflowRunId} has more than ${maximumArtifactCount} artifacts. Results will be incomplete as only the first ${maximumArtifactCount} artifacts will be returned`
`Workflow run ${workflowRunId} has ${totalArtifactCount} artifacts, exceeding the limit of ${maximumArtifactCount}. Results will be incomplete as only the first ${maximumArtifactCount} artifacts will be returned`
)
numberOfPages = maxNumberOfPages
}