fix: use Fprint instead of Fprintf for development mode message

This commit is contained in:
Johnny 2025-08-31 20:38:07 +08:00
parent 3a7538f787
commit ebff15149b

View file

@ -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)
}