From ebff15149b7807cb84bee0c838a5f8ccd44a7838 Mon Sep 17 00:00:00 2001 From: Johnny Date: Sun, 31 Aug 2025 20:38:07 +0800 Subject: [PATCH] fix: use Fprint instead of Fprintf for development mode message --- bin/memos/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/memos/main.go b/bin/memos/main.go index 5c9e1bd3e..48dad202d 100644 --- a/bin/memos/main.go +++ b/bin/memos/main.go @@ -138,7 +138,7 @@ func printGreetings(profile *profile.Profile) { fmt.Printf("Memos %s started successfully!\n", profile.Version) if profile.IsDev() { - fmt.Fprintf(os.Stderr, "Development mode is enabled\n") + fmt.Fprint(os.Stderr, "Development mode is enabled\n") if profile.DSN != "" { fmt.Fprintf(os.Stderr, "Database: %s\n", profile.DSN) }