mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-02-25 17:11:55 +00:00
Perhaps just not completed.
This commit is contained in:
parent
4449bb8588
commit
c08799ee2c
4 changed files with 8 additions and 8 deletions
4
dist/post_run/index.js
vendored
4
dist/post_run/index.js
vendored
|
|
@ -6770,8 +6770,8 @@ function fetchCheckSuiteId(runId) {
|
|||
if (!currentRun) {
|
||||
throw `Unexpected error: No run returned`;
|
||||
}
|
||||
if (currentRun.status !== `in_progress`) {
|
||||
throw `Unexpected error: Expected status of 'in_progress', got '${currentRun.status}': ` + util_1.inspect(currentRun);
|
||||
if (currentRun.conclusion) {
|
||||
throw `Unexpected error: Expected Check Suite with no conclusion, got: ` + util_1.inspect(currentRun);
|
||||
}
|
||||
// The GitHub API it's self does present the `check_suite_id` property, but it is not documented or present returned object's `type`
|
||||
currentCheckSuiteId = (_a = parseInt(currentRun.check_suite_url.substr(1 + currentRun.check_suite_url.lastIndexOf(`/`)))) !== null && _a !== void 0 ? _a : -1;
|
||||
|
|
|
|||
4
dist/pre/index.js
vendored
4
dist/pre/index.js
vendored
|
|
@ -6770,8 +6770,8 @@ function fetchCheckSuiteId(runId) {
|
|||
if (!currentRun) {
|
||||
throw `Unexpected error: No run returned`;
|
||||
}
|
||||
if (currentRun.status !== `in_progress`) {
|
||||
throw `Unexpected error: Expected status of 'in_progress', got '${currentRun.status}': ` + util_1.inspect(currentRun);
|
||||
if (currentRun.conclusion) {
|
||||
throw `Unexpected error: Expected Check Suite with no conclusion, got: ` + util_1.inspect(currentRun);
|
||||
}
|
||||
// The GitHub API it's self does present the `check_suite_id` property, but it is not documented or present returned object's `type`
|
||||
currentCheckSuiteId = (_a = parseInt(currentRun.check_suite_url.substr(1 + currentRun.check_suite_url.lastIndexOf(`/`)))) !== null && _a !== void 0 ? _a : -1;
|
||||
|
|
|
|||
4
dist/run/index.js
vendored
4
dist/run/index.js
vendored
|
|
@ -6780,8 +6780,8 @@ function fetchCheckSuiteId(runId) {
|
|||
if (!currentRun) {
|
||||
throw `Unexpected error: No run returned`;
|
||||
}
|
||||
if (currentRun.status !== `in_progress`) {
|
||||
throw `Unexpected error: Expected status of 'in_progress', got '${currentRun.status}': ` + util_1.inspect(currentRun);
|
||||
if (currentRun.conclusion) {
|
||||
throw `Unexpected error: Expected Check Suite with no conclusion, got: ` + util_1.inspect(currentRun);
|
||||
}
|
||||
// The GitHub API it's self does present the `check_suite_id` property, but it is not documented or present returned object's `type`
|
||||
currentCheckSuiteId = (_a = parseInt(currentRun.check_suite_url.substr(1 + currentRun.check_suite_url.lastIndexOf(`/`)))) !== null && _a !== void 0 ? _a : -1;
|
||||
|
|
|
|||
|
|
@ -121,8 +121,8 @@ async function fetchCheckSuiteId(runId: number): Promise<number> {
|
|||
throw `Unexpected error: No run returned`
|
||||
}
|
||||
|
||||
if (currentRun.status !== `in_progress`) {
|
||||
throw `Unexpected error: Expected status of 'in_progress', got '${currentRun.status}': ` + inspect(currentRun)
|
||||
if (currentRun.conclusion) {
|
||||
throw `Unexpected error: Expected Check Suite with no conclusion, got: ` + inspect(currentRun)
|
||||
}
|
||||
|
||||
// The GitHub API it's self does present the `check_suite_id` property, but it is not documented or present returned object's `type`
|
||||
|
|
|
|||
Loading…
Reference in a new issue