mirror of
https://github.com/actions/github-script.git
synced 2026-02-07 19:47:26 +00:00
Core.debug
This commit is contained in:
parent
eb0f407f1a
commit
ac0c7cb50b
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -13354,7 +13354,7 @@ function getRetryOptions(retries, exemptStatusCodes) {
|
|||
const requestOptions = {
|
||||
retries
|
||||
};
|
||||
Object(core.info)(`GitHub client configured with: (retries: ${requestOptions.retries}, retry-exempt-status-code: ${(_a = retryOptions === null || retryOptions === void 0 ? void 0 : retryOptions.doNotRetry) !== null && _a !== void 0 ? _a : 'octokit default: [400, 401, 403, 404, 422]'})`);
|
||||
Object(core.debug)(`GitHub client configured with: (retries: ${requestOptions.retries}, retry-exempt-status-code: ${(_a = retryOptions === null || retryOptions === void 0 ? void 0 : retryOptions.doNotRetry) !== null && _a !== void 0 ? _a : 'octokit default: [400, 401, 403, 404, 422]'})`);
|
||||
return [retryOptions, requestOptions];
|
||||
}
|
||||
function parseNumberArray(listString) {
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ export function getRetryOptions(
|
|||
retries
|
||||
}
|
||||
|
||||
core.info(
|
||||
core.debug(
|
||||
`GitHub client configured with: (retries: ${
|
||||
requestOptions.retries
|
||||
}, retry-exempt-status-code: ${
|
||||
|
|
|
|||
Loading…
Reference in a new issue