chore: fix prettier formatting (#1463)

This commit is contained in:
Ashwin Bhat 2026-07-04 09:31:09 -07:00 committed by GitHub
parent beb753ed72
commit 58a2944bbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}