Skip to content

Commit

Permalink
with setTimout problem corrected 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Jun 11, 2024
1 parent 770abff commit 88a6d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts/plugins/server/GitlabHostingConnector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default class GitlabHostingConnector extends GitlabConnector implements H
let i = 0
do {
i++
let jobs = await this.callApi(session, `api/v4/projects/${websiteId}/jobs`, 'GET')
const jobs = await this.callApi(session, `api/v4/projects/${websiteId}/jobs`, 'GET')
if (jobs[0].ref === tag) {return `${projectUrl}/-/jobs/${jobs[0].id}`}
await setTimeout(5)
} while (i<19)
Expand Down

0 comments on commit 88a6d29

Please sign in to comment.