mirror of
https://github.com/actions/setup-node
synced 2025-04-20 15:22:12 +00:00
Chore(lint) cache-restore.ts
This commit is contained in:
parent
49141160ec
commit
7edc3bb90a
@ -43,7 +43,11 @@ export const restoreCache = async (
|
||||
|
||||
core.saveState(State.CachePrimaryKey, primaryKey);
|
||||
|
||||
const cacheKey = await cache.restoreCache([cachePath], primaryKey, restoreKeys);
|
||||
const cacheKey = await cache.restoreCache(
|
||||
[cachePath],
|
||||
primaryKey,
|
||||
restoreKeys
|
||||
);
|
||||
core.setOutput('cache-hit', Boolean(cacheKey));
|
||||
|
||||
if (!cacheKey) {
|
||||
|
Loading…
Reference in New Issue
Block a user