mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 08:06:23 +00:00
Core.debug
This commit is contained in:
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: ${
|
||||
|
||||
Reference in New Issue
Block a user