@@ -18989,10 +18989,10 @@ Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);
18989
18989
command_1.issueCommand("error", utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);
18990
18990
}
18991
18991
exports.error = error;
18992
- function warning (message, properties = {}) {
18992
+ function warning2 (message, properties = {}) {
18993
18993
command_1.issueCommand("warning", utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);
18994
18994
}
18995
- exports.warning = warning ;
18995
+ exports.warning = warning2 ;
18996
18996
function notice(message, properties = {}) {
18997
18997
command_1.issueCommand("notice", utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);
18998
18998
}
@@ -21017,10 +21017,10 @@ Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);
21017
21017
(0, command_1.issueCommand)("error", (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);
21018
21018
}
21019
21019
exports.error = error;
21020
- function warning (message, properties = {}) {
21020
+ function warning2 (message, properties = {}) {
21021
21021
(0, command_1.issueCommand)("warning", (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);
21022
21022
}
21023
- exports.warning = warning ;
21023
+ exports.warning = warning2 ;
21024
21024
function notice(message, properties = {}) {
21025
21025
(0, command_1.issueCommand)("notice", (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);
21026
21026
}
@@ -28518,11 +28518,11 @@ var require_checkInsecureConnection = __commonJS({
28518
28518
return false;
28519
28519
}
28520
28520
function emitInsecureConnectionWarning() {
28521
- const warning = "Sending token over insecure transport. Assume any token issued is compromised.";
28522
- log_js_1.logger.warning(warning );
28521
+ const warning2 = "Sending token over insecure transport. Assume any token issued is compromised.";
28522
+ log_js_1.logger.warning(warning2 );
28523
28523
if (typeof (process === null || process === void 0 ? void 0 : process.emitWarning) === "function" && !insecureConnectionWarningEmmitted) {
28524
28524
insecureConnectionWarningEmmitted = true;
28525
- process.emitWarning(warning );
28525
+ process.emitWarning(warning2 );
28526
28526
}
28527
28527
}
28528
28528
function ensureSecureConnection(request, options) {
@@ -66813,10 +66813,15 @@ function assemblePaths() {
66813
66813
];
66814
66814
}
66815
66815
async function saveAsdfCache() {
66816
- const { cacheKey } = await assembleCacheKey();
66817
- const paths = assemblePaths();
66818
- core3.info(`Saving ${paths.join(", ")} to cache with key "${cacheKey}"`);
66819
- return cache.saveCache(paths, cacheKey);
66816
+ try {
66817
+ const { cacheKey } = await assembleCacheKey();
66818
+ const paths = assemblePaths();
66819
+ core3.info(`Saving ${paths.join(", ")} to cache with key "${cacheKey}"`);
66820
+ return await cache.saveCache(paths, cacheKey);
66821
+ } catch (error) {
66822
+ core3.warning(error);
66823
+ return -1;
66824
+ }
66820
66825
}
66821
66826
66822
66827
// src/install/index.ts
0 commit comments