From 86ab1987f753d1e29e18cd0f9a50c52790c8653b Mon Sep 17 00:00:00 2001 From: Patrick D'appollonio <930925+patrickdappollonio@users.noreply.github.com> Date: Thu, 19 Sep 2024 01:34:26 -0400 Subject: [PATCH] Fix linter issues. --- cmd/info.go | 2 +- cmd/reset.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/info.go b/cmd/info.go index 2911d5c58..f99d4ecfb 100755 --- a/cmd/info.go +++ b/cmd/info.go @@ -25,7 +25,7 @@ var infoCmd = &cobra.Command{ RunE: func(_ *cobra.Command, _ []string) error { config, err := configs.ReadConfig() if err != nil { - return err + return fmt.Errorf("failed to read config: %w", err) } var buf bytes.Buffer diff --git a/cmd/reset.go b/cmd/reset.go index faf8480e9..ca0293cfb 100755 --- a/cmd/reset.go +++ b/cmd/reset.go @@ -33,7 +33,7 @@ var resetCmd = &cobra.Command{ switch v := checksMap.(type) { case nil: // Handle the nil case explicitly - message := `# Succesfully reset` + message := `# Successfully reset` progress.Success(message) return nil case string: