Skip to content

Commit

Permalink
cmd/feather: fix capitalised errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorropo committed Oct 9, 2023
1 parent c782262 commit 2a7b531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/feather/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ Example:

r, err := feather.DownloadFile(c)
if err != nil {
return fmt.Errorf("Error starting file download: %w", err)
return fmt.Errorf("error starting file download: %w", err)
}
defer r.Close()

_, err = io.Copy(os.Stdout, r)
if err != nil {
return fmt.Errorf("Error downloading file: %w", err)
return fmt.Errorf("error downloading file: %w", err)
}
return nil
}

0 comments on commit 2a7b531

Please sign in to comment.