Fix lint errors: handle error return values

This commit is contained in:
Steve Yegge
2025-11-15 12:52:34 -08:00
parent 690c73fc31
commit 6f7e7fa930
6 changed files with 10 additions and 10 deletions

View File

@@ -54,7 +54,7 @@ func merge3WayAndPruneDeletions(ctx context.Context, store storage.Storage, json
// Ensure temp file cleanup on failure
defer func() {
if fileExists(tmpMerged) {
os.Remove(tmpMerged)
_ = os.Remove(tmpMerged)
}
}()