diff --git a/cmd/root.go b/cmd/root.go index f6219e2..0b583b6 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -45,7 +45,7 @@ func init() { func Execute() int { if err := rootCmd.Execute(); err != nil { if err != errSilent { - fmt.Fprintln(os.Stderr, err) + fmt.Fprintln(os.Stderr, fmt.Errorf("❌ %s", err)) } return 1 } diff --git a/internal/pkg/markdown/markdown.go b/internal/pkg/markdown/markdown.go index 8498f8a..da4d8eb 100644 --- a/internal/pkg/markdown/markdown.go +++ b/internal/pkg/markdown/markdown.go @@ -16,7 +16,7 @@ func Render(path string) error { data, err := ioutil.ReadFile(path) if err != nil { - return errors.New("❌ changelog not found. Check your configuration or run gh changelog new") + return errors.New("changelog not found. Check your configuration or run gh changelog new") } content, err := r.Render(string(data))