chore(lint): address linter
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-05-26 19:56:59 -04:00
parent 546600db93
commit db9629a618
10 changed files with 18 additions and 13 deletions

View File

@@ -15,7 +15,7 @@ func parseAnnasArchiveDownloadURL(body io.ReadCloser) (string, error) {
// Return Download URL
downloadURL, exists := doc.Find("body > table > tbody > tr > td > a").Attr("href")
if exists == false {
if !exists {
return "", fmt.Errorf("Download URL not found")
}