mirror of
https://github.com/usememos/memos.git
synced 2025-09-05 21:34:43 +08:00
fix: use Fprint instead of Fprintf for development mode message
This commit is contained in:
parent
3a7538f787
commit
ebff15149b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue