Changed names

This commit is contained in:
Jonas Bovin 2022-11-23 08:18:30 +01:00
parent 1bc237c625
commit 24fa723078
2 changed files with 7 additions and 7 deletions

6
dist/index.js vendored
View file

@ -13694,15 +13694,15 @@ class se_Helper {
}); });
return result; return result;
} }
async completeCheck(name, check_run_id, conclusion) { async completeCheck(name, id, conclusionString) {
const result = await this.github.rest.checks.create({ const result = await this.github.rest.checks.create({
owner: this.currentBuild.repo.owner, owner: this.currentBuild.repo.owner,
repo: this.currentBuild.repo.repo, repo: this.currentBuild.repo.repo,
name: name, name: name,
check_run_id: check_run_id, check_run_id: id,
head_sha: this.currentBuild.sha, head_sha: this.currentBuild.sha,
status: 'completed', status: 'completed',
conclusion: conclusion conclusion: conclusionString
}); });
return result; return result;
} }

View file

@ -118,17 +118,17 @@ export class Helper {
public async completeCheck( public async completeCheck(
name: string, name: string,
check_run_id: string, id: string,
conclusion: string conclusionString: string
) { ) {
const result = await this.github.rest.checks.create({ const result = await this.github.rest.checks.create({
owner: this.currentBuild.repo.owner, owner: this.currentBuild.repo.owner,
repo: this.currentBuild.repo.repo, repo: this.currentBuild.repo.repo,
name: name, name: name,
check_run_id: check_run_id, check_run_id: id,
head_sha: this.currentBuild.sha, head_sha: this.currentBuild.sha,
status: 'completed', status: 'completed',
conclusion: conclusion conclusion: conclusionString
}) })
return result return result
} }