work on resolving comments

This commit is contained in:
Dmitry Shibanov committed 2021-06-25 12:06:49 +03:00
1 parent f2b87bb2c2
commit d36a3314a5
9 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -42732,7 +42732,7 @@ exports.restoreCache = (packageManager) => __awaiter(void 0, void 0, void 0, fun
const cachePath = yield cache_utils_1.getCacheDirectoryPath(packageManagerInfo, packageManager);
const lockFilePath = findLockFile(packageManagerInfo);
const fileHash = yield glob.hashFiles(lockFilePath);
const primaryKey = `${platform}-${packageManager}-${fileHash}`;
const primaryKey = `node-cache-${platform}-${packageManager}-${fileHash}`;
core.debug(`primary key is ${primaryKey}`);
core.saveState(constants_1.State.CachePrimaryKey, primaryKey);
const cacheKey = yield cache.restoreCache([cachePath], primaryKey);