1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-27 22:49:17 +01:00

console res

This commit is contained in:
Apple 2022-03-30 18:29:58 +05:30
parent 1239bf6914
commit a54eb92c7c
4 changed files with 7 additions and 5 deletions

View file

@ -51558,7 +51558,8 @@ 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); console.log("\n\nRESULT\n\n");
console.log(error.result);
return { return {
statusCode: error.statusCode, statusCode: error.statusCode,
result: null, result: null,

3
dist/save/index.js vendored
View file

@ -51561,7 +51561,8 @@ 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); console.log("\n\nRESULT\n\n");
console.log(error.result);
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:actions-cache-2.3.0.tgz", "version": "file:actions-cache-2.4.0.tgz",
"integrity": "sha512-6K816KLQeVesY/5MHI4pM1viBXhGDqcVom6sY3KX0nLQgKbvyp7wR8h9Y07rQDEKr7Gd6GfQFIy3fQZAf3hr5g==", "integrity": "sha512-AfWcypsHwZGDjm6J4nBVvhuggVpz9bkkn2qPCycowbInKTwMVZOTZFQS1CaxOjcoOdzbpzrUk0uCu426at5mbg==",
"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:actions-cache-2.3.0.tgz", "@actions/cache": "file:actions-cache-2.4.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"