Skip to content

Commit

Permalink
✏️ 修复 kanban panic
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Jan 2, 2022
1 parent 205036b commit 7f8d34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ func printBanner() {

func getKanban() string {
err := reg.Connect()
defer reg.Close()
if err != nil {
return err.Error()
}
defer reg.Close()
text, err := reg.Get("ZeroBot-Plugin/kanban")
if err != nil {
return err.Error()
Expand Down

0 comments on commit 7f8d34e

Please sign in to comment.