Update packages/artifact/src/internal/find/list-artifacts.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
44683b6855
commit
03d28f5ecf
1 file changed
+1
-1
@@ -59,7 +59,7 @@ export async function listArtifactsPublic(
|
|||||||
const totalArtifactCount = listArtifactResponse.total_count
|
const totalArtifactCount = listArtifactResponse.total_count
|
||||||
if (totalArtifactCount > maximumArtifactCount) {
|
if (totalArtifactCount > maximumArtifactCount) {
|
||||||
warning(
|
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
|
numberOfPages = maxNumberOfPages
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user