From 5931ce4de7daae404b1b0fece23d84bd1e469d98 Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Tue, 20 Dec 2022 10:21:30 +0000 Subject: [PATCH] updated build files --- dist/save-only/index.js | 10 +--------- dist/save/index.js | 10 +++++++++- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dist/save-only/index.js b/dist/save-only/index.js index 12637e8..15a7bde 100644 --- a/dist/save-only/index.js +++ b/dist/save-only/index.js @@ -1079,8 +1079,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -const cache_1 = __webpack_require__(692); -const core = __importStar(__webpack_require__(470)); const saveImpl_1 = __importDefault(__webpack_require__(471)); const stateProvider_1 = __webpack_require__(309); const utils = __importStar(__webpack_require__(443)); @@ -1094,13 +1092,7 @@ function run() { yield (0, saveImpl_1.default)(new stateProvider_1.NullStateProvider()); } catch (error) { - const typedError = error; - if (typedError.name === cache_1.ReserveCacheError.name) { - core.info(`Failed to save: ${typedError.message}`); - } - else { - utils.logWarning(error.message); - } + utils.logWarning(error.message); } }); } diff --git a/dist/save/index.js b/dist/save/index.js index 3af9e14..bf5563d 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -47196,6 +47196,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); +const cache_1 = __webpack_require__(692); +const core = __importStar(__webpack_require__(470)); const saveImpl_1 = __importDefault(__webpack_require__(471)); const stateProvider_1 = __webpack_require__(309); const utils = __importStar(__webpack_require__(443)); @@ -47209,7 +47211,13 @@ function run() { yield (0, saveImpl_1.default)(new stateProvider_1.StateProvider()); } catch (error) { - utils.logWarning(error.message); + const typedError = error; + if (typedError.name === cache_1.ReserveCacheError.name) { + core.info(`Failed to save: ${typedError.message}`); + } + else { + utils.logWarning(error.message); + } } }); }