nip: eliminate wrong prints.

This commit is contained in:
fiatjaf
2026-07-15 12:55:54 -03:00
parent b6fa2e4f64
commit e36d546548
+1 -2
View File
@@ -65,7 +65,6 @@ examples:
} }
url := "https://github.com/nostr-protocol/nips/blob/master/" + foundLink url := "https://github.com/nostr-protocol/nips/blob/master/" + foundLink
fmt.Println("Opening " + url)
var cmd *exec.Cmd var cmd *exec.Cmd
switch runtime.GOOS { switch runtime.GOOS {
@@ -147,7 +146,7 @@ examples:
return fmt.Errorf("failed to render markdown: %w", err) return fmt.Errorf("failed to render markdown: %w", err)
} }
fmt.Print(rendered) stdout(rendered)
return nil return nil
}, },
} }