From f1084f3e8370d1d0ceb3a1e82517e7b1761be42a Mon Sep 17 00:00:00 2001 From: "YURII D." Date: Tue, 18 Feb 2025 18:20:19 +0200 Subject: Align formatting of user visible error messages (#84) * Update run.go Remove "Error", The "return" already implies an error. Error strings should not be capitalized (unless beginning with proper nouns or acronyms) or end with punctuation, since they are usually printed following other context. * Update dev.go Remove "Error", The "return" already implies an error. Error strings should not be capitalized (unless beginning with proper nouns or acronyms) or end with punctuation, since they are usually printed following other context. * Update run.go * Update dev.go --- cmd/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/run.go') diff --git a/cmd/run.go b/cmd/run.go index a02b2ec..77f884a 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -26,7 +26,7 @@ func (c *RunCommand) Run(args []string) error { cfg, err := parseConfigArgs(fs.Args()[1:]) if err != nil { - return fmt.Errorf("Error parsing config flags: %w", err) + return fmt.Errorf("error parsing config flags: %w", err) } return flyscrape.Run(fs.Arg(0), cfg) -- cgit v1.2.3