mirror of
https://github.com/actions/setup-python.git
synced 2025-07-01 15:13:46 +00:00
Code improvemnt: Rm CacheDistributor.cacheDependencyPath field and pass back from computeKeys instead, simplifying CacheDistributor.restoreCache error check. Rm now uneeded constant.ts file.
This commit is contained in:
parent
0024ce0d14
commit
d99639b3c5
5 changed files with 16 additions and 18 deletions
|
@ -54,7 +54,8 @@ class PoetryCache extends CacheDistributor {
|
|||
const restoreKey = undefined;
|
||||
return {
|
||||
primaryKey,
|
||||
restoreKey
|
||||
restoreKey,
|
||||
cacheDependencyPath: this.cacheDependencyPath,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue