From 58a2944bbcf1a73b1ae7960995fffca4fa29b113 Mon Sep 17 00:00:00 2001 From: Ashwin Bhat Date: Sat, 4 Jul 2026 09:31:09 -0700 Subject: [PATCH] chore: fix prettier formatting (#1463) --- src/github/operations/restore-config.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/github/operations/restore-config.ts b/src/github/operations/restore-config.ts index 09ec9f7b..92ab2be8 100644 --- a/src/github/operations/restore-config.ts +++ b/src/github/operations/restore-config.ts @@ -37,11 +37,7 @@ function snapshotSensitivePath(src: string, dest: string): void { // Symlinks whose targets are absent on the PR head (e.g. `.claude/CLAUDE.md` // -> `../AGENTS.md` when the PR deleted the target) make dereferenced // copies throw ENOENT. Preserve the symlink for the review snapshot instead. - if ( - error instanceof Error && - "code" in error && - error.code === "ENOENT" - ) { + if (error instanceof Error && "code" in error && error.code === "ENOENT") { cpSync(src, dest, { recursive: true }); return; }