fix @mleku unnecessary newlines.

This commit is contained in:
fiatjaf
2025-01-28 23:43:47 -03:00
parent aa53f2cd60
commit 6b659c1552

View File

@@ -7,11 +7,11 @@ import (
"os"
"path/filepath"
"github.com/fatih/color"
"github.com/fiatjaf/cli/v3"
"github.com/nbd-wtf/go-nostr"
"github.com/nbd-wtf/go-nostr/sdk"
"github.com/nbd-wtf/go-nostr/sdk/hints/memoryh"
"github.com/fatih/color"
)
var version string = "debug"
@@ -120,11 +120,11 @@ var app = &cli.Command{
func main() {
defer func() {
color.New(color.Reset).Println()
color.New(color.Reset).Print()
}()
if err := app.Run(context.Background(), os.Args); err != nil {
stdout(err)
color.New(color.Reset).Println()
color.New(color.Reset).Print()
os.Exit(1)
}
}