mirror of
https://github.com/actions/setup-go.git
synced 2024-11-24 22:00:55 -05:00
prettier format
This commit is contained in:
parent
db58e98a43
commit
c4e169859f
2 changed files with 2 additions and 2 deletions
2
dist/cache-save/index.js
vendored
2
dist/cache-save/index.js
vendored
|
@ -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) {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue