fixes
parent
5e68d1ac17
commit
efc1b8fb62
|
@ -6086,7 +6086,7 @@ class GitHub {
|
||||||
return cloud_runner_options_1.default.githubRepoName;
|
return cloud_runner_options_1.default.githubRepoName;
|
||||||
}
|
}
|
||||||
static async createGitHubCheck(summary) {
|
static async createGitHubCheck(summary) {
|
||||||
if (!cloud_runner_options_1.default.githubChecks) {
|
if (!cloud_runner_1.default.buildParameters.githubChecks) {
|
||||||
return ``;
|
return ``;
|
||||||
}
|
}
|
||||||
GitHub.startedDate = new Date().toISOString();
|
GitHub.startedDate = new Date().toISOString();
|
||||||
|
@ -6119,7 +6119,7 @@ class GitHub {
|
||||||
return result.data.id.toString();
|
return result.data.id.toString();
|
||||||
}
|
}
|
||||||
static async updateGitHubCheck(longDescription, summary, result = `neutral`, status = `in_progress`) {
|
static async updateGitHubCheck(longDescription, summary, result = `neutral`, status = `in_progress`) {
|
||||||
if (!cloud_runner_options_1.default.githubChecks) {
|
if (!cloud_runner_1.default.buildParameters.githubChecks) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
GitHub.longDescriptionContent += `\n${longDescription}`;
|
GitHub.longDescriptionContent += `\n${longDescription}`;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -46,7 +46,7 @@ class GitHub {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static async createGitHubCheck(summary: string) {
|
public static async createGitHubCheck(summary: string) {
|
||||||
if (!CloudRunnerOptions.githubChecks) {
|
if (!CloudRunner.buildParameters.githubChecks) {
|
||||||
return ``;
|
return ``;
|
||||||
}
|
}
|
||||||
GitHub.startedDate = new Date().toISOString();
|
GitHub.startedDate = new Date().toISOString();
|
||||||
|
@ -87,7 +87,7 @@ class GitHub {
|
||||||
result = `neutral`,
|
result = `neutral`,
|
||||||
status = `in_progress`,
|
status = `in_progress`,
|
||||||
) {
|
) {
|
||||||
if (!CloudRunnerOptions.githubChecks) {
|
if (!CloudRunner.buildParameters.githubChecks) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
GitHub.longDescriptionContent += `\n${longDescription}`;
|
GitHub.longDescriptionContent += `\n${longDescription}`;
|
||||||
|
|
Loading…
Reference in New Issue