1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-12-23 12:36:01 +01:00

console res

This commit is contained in:
Apple 2022-03-30 18:23:49 +05:30
parent 2ce8d02f04
commit 1239bf6914
4 changed files with 5 additions and 3 deletions

View file

@ -51558,6 +51558,7 @@ function retryTypedResponse(name, method, maxAttempts = constants_1.DefaultRetry
// an ITypedResponse<T> so it can be processed by the retry logic. // an ITypedResponse<T> so it can be processed by the retry logic.
(error) => { (error) => {
if (error instanceof http_client_1.HttpClientError) { if (error instanceof http_client_1.HttpClientError) {
console.log(error);
return { return {
statusCode: error.statusCode, statusCode: error.statusCode,
result: null, result: null,

1
dist/save/index.js vendored
View file

@ -51561,6 +51561,7 @@ function retryTypedResponse(name, method, maxAttempts = constants_1.DefaultRetry
// an ITypedResponse<T> so it can be processed by the retry logic. // an ITypedResponse<T> so it can be processed by the retry logic.
(error) => { (error) => {
if (error instanceof http_client_1.HttpClientError) { if (error instanceof http_client_1.HttpClientError) {
console.log(error);
return { return {
statusCode: error.statusCode, statusCode: error.statusCode,
result: null, result: null,

4
package-lock.json generated
View file

@ -5,8 +5,8 @@
"requires": true, "requires": true,
"dependencies": { "dependencies": {
"@actions/cache": { "@actions/cache": {
"version": "file:cache.tgz", "version": "file:actions-cache-2.3.0.tgz",
"integrity": "sha512-3KKmMXpGLI/dU7+aO6V+CmWsZ5B8aP4Y+SIo14TtvxYHLxZejIinESpTxw2U88noW08uTEXZOyWpLhhQswn15g==", "integrity": "sha512-6K816KLQeVesY/5MHI4pM1viBXhGDqcVom6sY3KX0nLQgKbvyp7wR8h9Y07rQDEKr7Gd6GfQFIy3fQZAf3hr5g==",
"requires": { "requires": {
"@actions/core": "^1.2.6", "@actions/core": "^1.2.6",
"@actions/exec": "^1.0.1", "@actions/exec": "^1.0.1",

View file

@ -23,7 +23,7 @@
"author": "GitHub", "author": "GitHub",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/cache": "file:cache.tgz", "@actions/cache": "file:actions-cache-2.3.0.tgz",
"@actions/core": "^1.2.6", "@actions/core": "^1.2.6",
"@actions/exec": "^1.1.1", "@actions/exec": "^1.1.1",
"@actions/io": "^1.1.2" "@actions/io": "^1.1.2"