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;
}
async completeCheck(name, check_run_id, conclusion) {
async completeCheck(name, id, conclusionString) {
const result = await this.github.rest.checks.create({
owner: this.currentBuild.repo.owner,
repo: this.currentBuild.repo.repo,
name: name,
check_run_id: check_run_id,
check_run_id: id,
head_sha: this.currentBuild.sha,
status: 'completed',
conclusion: conclusion
conclusion: conclusionString
});
return result;
}

View file

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