fix: T16 verification cleanups

- golangci-lint: errcheck on resp.Body.Close in Lidarr client + revive
  unused-parameter in delete_test.go
- coverage: 2 error-branch tests added to lidarrquarantine.Service
  (DeleteFile + DeleteViaLidarr track-not-found paths) bring per-package
  coverage to 81.4% (target >=80%)
- search/tracks.test.ts: same TrackMenu name-collision fix T13 applied to
  TrackRow.test.ts — exact-string button match instead of regex
This commit is contained in:
2026-04-30 20:49:11 -04:00
parent 3bfec944c7
commit 3e3ad89645
5 changed files with 54 additions and 6 deletions
+1 -1
View File
@@ -64,6 +64,6 @@ func (c *Client) DeleteAlbum(ctx context.Context, lidarrAlbumID int, deleteFiles
if err != nil {
return err
}
resp.Body.Close()
_ = resp.Body.Close()
return nil
}