@@ -60361,14 +60361,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
6036160361 step((generator = generator.apply(thisArg, _arguments || [])).next());
6036260362 });
6036360363};
60364- var __importDefault = (this && this.__importDefault) || function (mod) {
60365- return (mod && mod.__esModule) ? mod : { "default": mod };
60366- };
6036760364Object.defineProperty(exports, "__esModule", ({ value: true }));
6036860365exports.run = void 0;
6036960366const core = __importStar(__nccwpck_require__(2186));
6037060367const cache = __importStar(__nccwpck_require__(7799));
60371- const fs_1 = __importDefault(__nccwpck_require__(7147));
6037260368const constants_1 = __nccwpck_require__(9042);
6037360369const cache_utils_1 = __nccwpck_require__(1678);
6037460370// Catch and log any unhandled exceptions. These exceptions can leak out of the uploadChunk method in
@@ -60393,8 +60389,7 @@ exports.run = run;
6039360389const cachePackages = (packageManager) => __awaiter(void 0, void 0, void 0, function* () {
6039460390 const state = core.getState(constants_1.State.CacheMatchedKey);
6039560391 const primaryKey = core.getState(constants_1.State.CachePrimaryKey);
60396- let cachePaths = JSON.parse(core.getState(constants_1.State.CachePaths) || '[]');
60397- cachePaths = cachePaths.filter(fs_1.default.existsSync);
60392+ const cachePaths = JSON.parse(core.getState(constants_1.State.CachePaths) || '[]');
6039860393 const packageManagerInfo = yield cache_utils_1.getPackageManagerInfo(packageManager);
6039960394 if (!packageManagerInfo) {
6040060395 core.debug(`Caching for '${packageManager}' is not supported`);
0 commit comments