Skip to content

Commit 6806c30

Browse files
fix for check-dist failures
1 parent d66fae6 commit 6806c30

File tree

5 files changed

+126
-69
lines changed

5 files changed

+126
-69
lines changed

.licenses/npm/lru-cache.dep.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.licenses/npm/yallist.dep.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cache-save/index.js

Lines changed: 38 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -89399,13 +89399,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
8939989399
}) : function(o, v) {
8940089400
o["default"] = v;
8940189401
});
89402-
var __importStar = (this && this.__importStar) || function (mod) {
89403-
if (mod && mod.__esModule) return mod;
89404-
var result = {};
89405-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
89406-
__setModuleDefault(result, mod);
89407-
return result;
89408-
};
89402+
var __importStar = (this && this.__importStar) || (function () {
89403+
var ownKeys = function(o) {
89404+
ownKeys = Object.getOwnPropertyNames || function (o) {
89405+
var ar = [];
89406+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
89407+
return ar;
89408+
};
89409+
return ownKeys(o);
89410+
};
89411+
return function (mod) {
89412+
if (mod && mod.__esModule) return mod;
89413+
var result = {};
89414+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
89415+
__setModuleDefault(result, mod);
89416+
return result;
89417+
};
89418+
})();
8940989419
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
8941089420
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
8941189421
return new (P || (P = Promise))(function (resolve, reject) {
@@ -89419,7 +89429,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
8941989429
return (mod && mod.__esModule) ? mod : { "default": mod };
8942089430
};
8942189431
Object.defineProperty(exports, "__esModule", ({ value: true }));
89422-
exports.run = void 0;
89432+
exports.run = run;
8942389433
const core = __importStar(__nccwpck_require__(2186));
8942489434
const cache = __importStar(__nccwpck_require__(7799));
8942589435
const fs_1 = __importDefault(__nccwpck_require__(7147));
@@ -89458,7 +89468,6 @@ function run(earlyExit) {
8945889468
}
8945989469
});
8946089470
}
89461-
exports.run = run;
8946289471
const cachePackages = () => __awaiter(void 0, void 0, void 0, function* () {
8946389472
const packageManager = 'default';
8946489473
const state = core.getState(constants_1.State.CacheMatchedKey);
@@ -89517,13 +89526,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
8951789526
}) : function(o, v) {
8951889527
o["default"] = v;
8951989528
});
89520-
var __importStar = (this && this.__importStar) || function (mod) {
89521-
if (mod && mod.__esModule) return mod;
89522-
var result = {};
89523-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
89524-
__setModuleDefault(result, mod);
89525-
return result;
89526-
};
89529+
var __importStar = (this && this.__importStar) || (function () {
89530+
var ownKeys = function(o) {
89531+
ownKeys = Object.getOwnPropertyNames || function (o) {
89532+
var ar = [];
89533+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
89534+
return ar;
89535+
};
89536+
return ownKeys(o);
89537+
};
89538+
return function (mod) {
89539+
if (mod && mod.__esModule) return mod;
89540+
var result = {};
89541+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
89542+
__setModuleDefault(result, mod);
89543+
return result;
89544+
};
89545+
})();
8952789546
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
8952889547
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
8952989548
return new (P || (P = Promise))(function (resolve, reject) {
@@ -89534,7 +89553,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8953489553
});
8953589554
};
8953689555
Object.defineProperty(exports, "__esModule", ({ value: true }));
89537-
exports.isCacheFeatureAvailable = exports.isGhes = exports.getCacheDirectoryPath = exports.getPackageManagerInfo = exports.getCommandOutput = void 0;
89556+
exports.getCacheDirectoryPath = exports.getPackageManagerInfo = exports.getCommandOutput = void 0;
89557+
exports.isGhes = isGhes;
89558+
exports.isCacheFeatureAvailable = isCacheFeatureAvailable;
8953889559
const cache = __importStar(__nccwpck_require__(7799));
8953989560
const core = __importStar(__nccwpck_require__(2186));
8954089561
const exec = __importStar(__nccwpck_require__(1514));
@@ -89584,7 +89605,6 @@ function isGhes() {
8958489605
const isLocalHost = hostname.endsWith('.LOCALHOST');
8958589606
return !isGitHubHost && !isGitHubEnterpriseCloudHost && !isLocalHost;
8958689607
}
89587-
exports.isGhes = isGhes;
8958889608
function isCacheFeatureAvailable() {
8958989609
if (cache.isFeatureAvailable()) {
8959089610
return true;
@@ -89596,7 +89616,6 @@ function isCacheFeatureAvailable() {
8959689616
core.warning('The runner was not able to contact the cache service. Caching will be skipped');
8959789617
return false;
8959889618
}
89599-
exports.isCacheFeatureAvailable = isCacheFeatureAvailable;
8960089619

8960189620

8960289621
/***/ }),

0 commit comments

Comments
 (0)