correcting bug with async env

pull/496/head
Frostebite 2023-01-22 01:45:05 +00:00
parent d70625087c
commit 1a0fd35c82
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@ -6538,7 +6538,7 @@ class GitHub {
repo: GitHub.repo,
});
const workflows = workflowsResult.data.workflows;
cloud_runner_logger_1.default.log(`Got ${workflows} workflows`);
cloud_runner_logger_1.default.log(`Got ${workflows.length} workflows`);
let selectedId = ``;
for (let index = 0; index < workflowsResult.data.total_count; index++) {
if (workflows[index].name === GitHub.asyncChecksApiWorkflowName) {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -142,7 +142,7 @@ class GitHub {
repo: GitHub.repo,
});
const workflows = workflowsResult.data.workflows;
CloudRunnerLogger.log(`Got ${workflows} workflows`);
CloudRunnerLogger.log(`Got ${workflows.length} workflows`);
let selectedId = ``;
for (let index = 0; index < workflowsResult.data.total_count; index++) {
if (workflows[index].name === GitHub.asyncChecksApiWorkflowName) {