File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 = "");
Original file line number Diff line number Diff 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 = "");
You can’t perform that action at this time.
0 commit comments