Skip to content

Commit d0d1cc2

Browse files
fix(config): remove unused createConfigObserveAnomalyAuditAppendParams helper
1 parent ca50cee commit d0d1cc2

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/config/io.observe-recovery.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -214,17 +214,6 @@ function extractRestoreErrorDetails(error: unknown): {
214214
return { code, message };
215215
}
216216

217-
function createConfigObserveAnomalyAuditAppendParams(
218-
deps: ObserveRecoveryDeps,
219-
params: Omit<ConfigObserveAuditRecordParams, "restoredFromBackup" | "restoredBackupPath">,
220-
) {
221-
return createConfigObserveAuditAppendParams(deps, {
222-
...params,
223-
restoredFromBackup: false,
224-
restoredBackupPath: null,
225-
});
226-
}
227-
228217
function hashConfigRaw(raw: string | null): string {
229218
return crypto
230219
.createHash("sha256")

0 commit comments

Comments
 (0)