From 2a7b5310ca1b38bb15d1e6e1c9da1ba5f5a92f00 Mon Sep 17 00:00:00 2001 From: Jorropo Date: Mon, 9 Oct 2023 23:08:36 +0200 Subject: [PATCH] cmd/feather: fix capitalised errors --- cmd/feather/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/feather/main.go b/cmd/feather/main.go index 27d1e50bb..6f4e62cd6 100644 --- a/cmd/feather/main.go +++ b/cmd/feather/main.go @@ -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 }