diff --git a/internal/gonut/cf/update.go b/internal/gonut/cf/update.go index 2b4d523..6ad202d 100644 --- a/internal/gonut/cf/update.go +++ b/internal/gonut/cf/update.go @@ -68,11 +68,11 @@ func NotifyLatestRelease() error { func releaseNotificationTable(installed string, current string) [][]string { rows := [][]string{ - []string{ + { bunt.Sprintf("*Release:*"), bunt.Sprintf("Crimson{%s} → YellowGreen{%s}", installed, current), }, - []string{ + { bunt.Sprintf("*Changelog:*"), bunt.Sprintf("CornflowerBlue{~https://github.com/homeport/gonut/releases/tag/v%s~}", current), }, diff --git a/internal/gonut/cmd/push.go b/internal/gonut/cmd/push.go index 0efffc8..35e11e2 100644 --- a/internal/gonut/cmd/push.go +++ b/internal/gonut/cmd/push.go @@ -247,7 +247,7 @@ func pushCommandFunc(cmd *cobra.Command, args []string) error { apps = append(apps, app) } else { - return fmt.Errorf("Could not find %s sample app. Please use an argument from the following list:\n\n%s", arg, getOptions()) + return fmt.Errorf("could not find %s sample app. Please use an argument from the following list:\n\n%s", arg, getOptions()) } } @@ -256,7 +256,7 @@ func pushCommandFunc(cmd *cobra.Command, args []string) error { case "all": stacks, err := cf.GetStackNames() if err != nil { - return fmt.Errorf("An error occurred while trying to retrieve a list of installed stacks: %v", err) + return fmt.Errorf("an error occurred while trying to retrieve a list of installed stacks: %v", err) } for _, stack := range stacks {