Skip to content

Commit 7e7c128

Browse files
chore: build the action
1 parent 119b24c commit 7e7c128

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/restore-only/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94537,7 +94537,7 @@ function restoreImpl(stateProvider, earlyExit) {
9453794537
}
9453894538
let hitFirstMatch = false;
9453994539
if (inputs.restorePrefixesFirstMatch.length > 0 &&
94540-
!(lookedUpPrimaryKey && inputs.skipRestoreOnHitPrimaryKey)) {
94540+
!(lookedUpPrimaryKey || inputs.skipRestoreOnHitPrimaryKey)) {
9454194541
utils.info(`
9454294542
Searching for a cache using the "${constants_1.Inputs.RestorePrefixesFirstMatch}":
9454394543
${JSON.stringify(inputs.restorePrefixesFirstMatch)}
@@ -94569,7 +94569,7 @@ function restoreImpl(stateProvider, earlyExit) {
9456994569
}
9457094570
}
9457194571
}
94572-
if (!(lookedUpPrimaryKey && inputs.skipRestoreOnHitPrimaryKey)) {
94572+
if (!(lookedUpPrimaryKey || inputs.skipRestoreOnHitPrimaryKey)) {
9457394573
restoredKeys.push(...(yield restore.restoreAllMatches()));
9457494574
}
9457594575
restoredKey !== null && restoredKey !== void 0 ? restoredKey : (restoredKey = "");

dist/restore/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94537,7 +94537,7 @@ function restoreImpl(stateProvider, earlyExit) {
9453794537
}
9453894538
let hitFirstMatch = false;
9453994539
if (inputs.restorePrefixesFirstMatch.length > 0 &&
94540-
!(lookedUpPrimaryKey && inputs.skipRestoreOnHitPrimaryKey)) {
94540+
!(lookedUpPrimaryKey || inputs.skipRestoreOnHitPrimaryKey)) {
9454194541
utils.info(`
9454294542
Searching for a cache using the "${constants_1.Inputs.RestorePrefixesFirstMatch}":
9454394543
${JSON.stringify(inputs.restorePrefixesFirstMatch)}
@@ -94569,7 +94569,7 @@ function restoreImpl(stateProvider, earlyExit) {
9456994569
}
9457094570
}
9457194571
}
94572-
if (!(lookedUpPrimaryKey && inputs.skipRestoreOnHitPrimaryKey)) {
94572+
if (!(lookedUpPrimaryKey || inputs.skipRestoreOnHitPrimaryKey)) {
9457394573
restoredKeys.push(...(yield restore.restoreAllMatches()));
9457494574
}
9457594575
restoredKey !== null && restoredKey !== void 0 ? restoredKey : (restoredKey = "");

0 commit comments

Comments
 (0)