mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
fix comment
This commit is contained in:
parent
fca93898f9
commit
1b4fbf71a0
2 changed files with 2 additions and 2 deletions
2
dist/cache-save/index.js
vendored
2
dist/cache-save/index.js
vendored
|
@ -59630,7 +59630,7 @@ function saveCache(packageManager) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const cachePathState = core.getState(cache_distributor_1.State.CACHE_PATHS);
|
const cachePathState = core.getState(cache_distributor_1.State.CACHE_PATHS);
|
||||||
if (!cachePathState) {
|
if (!cachePathState) {
|
||||||
core.warning('State paths for saving/restoring is empty. Could you please check previous logs and verify that the version python is specified version?');
|
core.warning('Cache paths are empty. Please check the previous logs and make sure that the python version is specified');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const cachePaths = JSON.parse(cachePathState);
|
const cachePaths = JSON.parse(cachePathState);
|
||||||
|
|
|
@ -21,7 +21,7 @@ async function saveCache(packageManager: string) {
|
||||||
|
|
||||||
if (!cachePathState) {
|
if (!cachePathState) {
|
||||||
core.warning(
|
core.warning(
|
||||||
'State paths for saving/restoring is empty. Could you please check previous logs and verify that the version python is specified version?'
|
'Cache paths are empty. Please check the previous logs and make sure that the python version is specified'
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue