We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5121d60 commit 119b24cCopy full SHA for 119b24c
src/restoreImpl.ts
@@ -92,7 +92,7 @@ export async function restoreImpl(
92
93
if (
94
inputs.restorePrefixesFirstMatch.length > 0 &&
95
- !(lookedUpPrimaryKey && inputs.skipRestoreOnHitPrimaryKey)
+ !(lookedUpPrimaryKey || inputs.skipRestoreOnHitPrimaryKey)
96
) {
97
utils.info(
98
`
@@ -136,7 +136,7 @@ export async function restoreImpl(
136
}
137
138
139
- if (!(lookedUpPrimaryKey && inputs.skipRestoreOnHitPrimaryKey)) {
+ if (!(lookedUpPrimaryKey || inputs.skipRestoreOnHitPrimaryKey)) {
140
restoredKeys.push(...(await restore.restoreAllMatches()));
141
142
0 commit comments