Skip to content

Commit e36d546

Browse files
committed
nip: eliminate wrong prints.
1 parent b6fa2e4 commit e36d546

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

nip.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ examples:
6565
}
6666

6767
url := "https://github.com/nostr-protocol/nips/blob/master/" + foundLink
68-
fmt.Println("Opening " + url)
6968

7069
var cmd *exec.Cmd
7170
switch runtime.GOOS {
@@ -147,7 +146,7 @@ examples:
147146
return fmt.Errorf("failed to render markdown: %w", err)
148147
}
149148

150-
fmt.Print(rendered)
149+
stdout(rendered)
151150
return nil
152151
},
153152
}

0 commit comments

Comments
 (0)