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

@@ -121,7 +121,7 @@ func getGBooksMetadata(metadataSearch MetadataInfo) ([]MetadataInfo, error) {
func saveGBooksCover(gbid string, coverFilePath string, overwrite bool) error {
// Validate File Doesn't Exists
_, err := os.Stat(coverFilePath)
if err == nil && overwrite == false {
if err == nil && !overwrite {
log.Warn("File Alreads Exists")
return nil
}