From afa9b29eea1cafd0109e0f408ddff4a00322535e Mon Sep 17 00:00:00 2001 From: aidanaden Date: Sat, 7 Oct 2023 22:10:50 +0800 Subject: [PATCH] fix: upddate view poele error msg --- internal/app/view/people.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/app/view/people.go b/internal/app/view/people.go index 950100e..1641a4a 100644 --- a/internal/app/view/people.go +++ b/internal/app/view/people.go @@ -36,7 +36,7 @@ func RunViewCoursePeople(cmd *cobra.Command, args []string) { } pterm.Println() if err := pterm.DefaultTable.WithHasHeader().WithData(tableData).Render(); err != nil { - pterm.Error.Printfln("Error rendering events: %s", err.Error()) + pterm.Error.Printfln("Error rendering people: %s", err.Error()) os.Exit(1) } pterm.Info.Printfln("Showing %d people from %s", len(coursePeople), courseCode)