fix(lint): resolve all golangci-lint errors

- Mark unused ctx parameter with underscore in getRepoRootForWorktree
- Replace exec.Command("test", "-d") with os.Stat for directory check
- Handle file.Close() errors properly in compact.go and migrate_tombstones.go
- Explicitly ignore cleanup errors with _ assignment

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-14 22:36:51 -08:00
parent f83a8f5a38
commit 7535dc88d2
4 changed files with 11 additions and 8 deletions

View File

@@ -128,7 +128,7 @@ Examples:
existingTombstones[issue.ID] = true
}
}
file.Close()
_ = file.Close()
}
// Determine which deletions need migration