Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: use Fprint instead of Fprintf for development mode message

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