Merge branch 'main' into update-bundle/codeql-bundle-v2.20.6
This commit is contained in:
commit
256aa16582
3 changed files with 3 additions and 3 deletions
2
lib/api-client.js
generated
2
lib/api-client.js
generated
|
|
@ -206,7 +206,7 @@ async function deleteActionsCache(id) {
|
||||||
}
|
}
|
||||||
function wrapApiConfigurationError(e) {
|
function wrapApiConfigurationError(e) {
|
||||||
if ((0, util_1.isHTTPError)(e)) {
|
if ((0, util_1.isHTTPError)(e)) {
|
||||||
if (e.message.includes("API rate limit exceeded for site ID installation") ||
|
if (e.message.includes("API rate limit exceeded for installation") ||
|
||||||
e.message.includes("commit not found") ||
|
e.message.includes("commit not found") ||
|
||||||
/^ref .* not found in this repository$/.test(e.message)) {
|
/^ref .* not found in this repository$/.test(e.message)) {
|
||||||
return new util_1.ConfigurationError(e.message);
|
return new util_1.ConfigurationError(e.message);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -249,7 +249,7 @@ export async function deleteActionsCache(id: number) {
|
||||||
export function wrapApiConfigurationError(e: unknown) {
|
export function wrapApiConfigurationError(e: unknown) {
|
||||||
if (isHTTPError(e)) {
|
if (isHTTPError(e)) {
|
||||||
if (
|
if (
|
||||||
e.message.includes("API rate limit exceeded for site ID installation") ||
|
e.message.includes("API rate limit exceeded for installation") ||
|
||||||
e.message.includes("commit not found") ||
|
e.message.includes("commit not found") ||
|
||||||
/^ref .* not found in this repository$/.test(e.message)
|
/^ref .* not found in this repository$/.test(e.message)
|
||||||
) {
|
) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue