1
0
Fork 0
mirror of https://github.com/actions/setup-go synced 2024-11-09 23:22:41 +00:00
This commit is contained in:
Evgenii Korolevskii 2022-09-08 14:53:17 +02:00
parent 2905db4069
commit db58e98a43
2 changed files with 2 additions and 2 deletions

View file

@ -60008,7 +60008,7 @@ const cachePackages = () => __awaiter(void 0, void 0, void 0, function* () {
const cachePaths = yield cache_utils_1.getCacheDirectoryPath(packageManagerInfo); const cachePaths = yield cache_utils_1.getCacheDirectoryPath(packageManagerInfo);
const nonExistingPaths = cachePaths.filter(cachePath => !fs_1.default.existsSync(cachePath)); const nonExistingPaths = cachePaths.filter(cachePath => !fs_1.default.existsSync(cachePath));
if (nonExistingPaths.length === cachePaths.length) { if (nonExistingPaths.length === cachePaths.length) {
core.warning(`There are no cache folders on the disk`); core.warning("There are no cache folders on the disk");
return; return;
} }
if (nonExistingPaths.length) { if (nonExistingPaths.length) {

View file

@ -47,7 +47,7 @@ const cachePackages = async () => {
); );
if (nonExistingPaths.length === cachePaths.length) { if (nonExistingPaths.length === cachePaths.length) {
core.warning(`There are no cache folders on the disk`); core.warning("There are no cache folders on the disk");
return; return;
} }