Skip to content

Commit ebff151

Browse files
committed
fix: use Fprint instead of Fprintf for development mode message
1 parent 3a7538f commit ebff151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/memos/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func printGreetings(profile *profile.Profile) {
138138
fmt.Printf("Memos %s started successfully!\n", profile.Version)
139139

140140
if profile.IsDev() {
141-
fmt.Fprintf(os.Stderr, "Development mode is enabled\n")
141+
fmt.Fprint(os.Stderr, "Development mode is enabled\n")
142142
if profile.DSN != "" {
143143
fmt.Fprintf(os.Stderr, "Database: %s\n", profile.DSN)
144144
}

0 commit comments

Comments
 (0)