correcting bug with async env
parent
744c322797
commit
fff100c14f
|
|
@ -81,7 +81,8 @@ class GitHub {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static async updateGitHubCheck(longDescription, summary, result = `neutral`, status = `in_progress`) {
|
public static async updateGitHubCheck(longDescription, summary, result = `neutral`, status = `in_progress`) {
|
||||||
if (!CloudRunnerOptions.githubChecks || CloudRunner.isCloudRunnerAsyncEnvironment) {
|
const isLocalAsync = CloudRunner.buildParameters.asyncWorkflow && !CloudRunner.isCloudRunnerAsyncEnvironment;
|
||||||
|
if (!CloudRunnerOptions.githubChecks || CloudRunner.isCloudRunnerAsyncEnvironment || isLocalAsync) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
GitHub.longDescriptionContent += `\n${longDescription}`;
|
GitHub.longDescriptionContent += `\n${longDescription}`;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue