mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 14:57:09 +01:00
try to fix build
This commit is contained in:
parent
16a69ceefa
commit
ef6f15c949
1 changed files with 2 additions and 2 deletions
|
|
@ -235,11 +235,11 @@ class TestReporter {
|
|||
): Promise<RestEndpointMethodTypes['checks']['update']['response']> => {
|
||||
const leftAnnotations = [...annotations]
|
||||
let response: RestEndpointMethodTypes['checks']['update']['response']
|
||||
while (leftAnnotations.length > 0) {
|
||||
do {
|
||||
const toProcess = leftAnnotations.splice(0, 50)
|
||||
const status = leftAnnotations.length > 0 ? 'in_progress' : 'completed'
|
||||
response = await this.updateAnnotation(toProcess, {...requestParams, status})
|
||||
}
|
||||
} while (leftAnnotations.length > 0)
|
||||
return response
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue