mirror of
https://github.com/actions/setup-go.git
synced 2025-04-24 01:50:52 +00:00
Fixed text of the error
This commit is contained in:
parent
9bc7dce839
commit
832658fa34
2 changed files with 2 additions and 2 deletions
2
dist/cache-save/index.js
vendored
2
dist/cache-save/index.js
vendored
|
@ -49211,7 +49211,7 @@ const cachePackages = () => __awaiter(void 0, void 0, void 0, function* () {
|
|||
}
|
||||
}
|
||||
if (!pathsCounter) {
|
||||
throw `Cache folder paths are retrieved but don't exist on disk`;
|
||||
throw new Error(`No cache folders exist on disk`);
|
||||
}
|
||||
if (primaryKey === state) {
|
||||
core.info(`Cache hit occurred on the primary key ${primaryKey}, not saving cache.`);
|
||||
|
|
|
@ -47,7 +47,7 @@ const cachePackages = async () => {
|
|||
}
|
||||
|
||||
if (!pathsCounter) {
|
||||
throw new Error(`Cache folder paths are retrieved but don't exist on disk`);
|
||||
throw new Error(`No cache folders exist on disk`);
|
||||
}
|
||||
|
||||
if (primaryKey === state) {
|
||||
|
|
Loading…
Add table
Reference in a new issue