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:
Sam Pinkus 2025-01-08 16:37:25 +10:00
parent 0024ce0d14
commit d99639b3c5
5 changed files with 16 additions and 18 deletions

View file

@ -54,7 +54,8 @@ class PoetryCache extends CacheDistributor {
const restoreKey = undefined;
return {
primaryKey,
restoreKey
restoreKey,
cacheDependencyPath: this.cacheDependencyPath,
};
}