Skip to content

Commit

Permalink
Fix format print on set output
Browse files Browse the repository at this point in the history
  • Loading branch information
noqqe committed Nov 2, 2023
1 parent 64607f3 commit f1c3de2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
golang 1.20
golang 1.21.3
2 changes: 1 addition & 1 deletion src/serra/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func ShowSet(setname string) error {

ri := convertRarities(rar)

fmt.Printf(sets[0].Name)
fmt.Printf("%s\n", sets[0].Name)
fmt.Printf("Released: %s\n", sets[0].ReleasedAt)
fmt.Printf("Set Cards: %d/%d\n", len(cards), sets[0].CardCount)
fmt.Printf("Total Cards: %.0f\n", stats[0]["count"])
Expand Down

0 comments on commit f1c3de2

Please sign in to comment.