mirror of
https://github.com/actions/setup-go.git
synced 2024-12-27 08:41:03 +08:00
format
This commit is contained in:
parent
2905db4069
commit
db58e98a43
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 nonExistingPaths = cachePaths.filter(cachePath => !fs_1.default.existsSync(cachePath));
|
||||
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;
|
||||
}
|
||||
if (nonExistingPaths.length) {
|
||||
|
@ -47,7 +47,7 @@ const cachePackages = async () => {
|
||||
);
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user