Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez committed Feb 6, 2024
1 parent 61ba5a8 commit 30dad5a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion botcli/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ func qrForAcc(cli *BotCli, bot *deltachat.Bot, cmd *cobra.Command, args []string
fmt.Println("Scan this QR to verify", addr)
invert, _ := cmd.Flags().GetBool("invert")
printQr(qrdata, invert)
fragment := strings.Replace(strings.SplitN(qrdata, ":", 2)[1], "#", "&", 1)
fmt.Printf(GenerateInviteLink(qrdata))

Check failure on line 240 in botcli/cmd.go

View workflow job for this annotation

GitHub Actions / build

SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
} else {
cli.Logger.Error("account not configured")
Expand Down

0 comments on commit 30dad5a

Please sign in to comment.