Skip to content

Commit

Permalink
fix bug: nil pointer dereference
Browse files Browse the repository at this point in the history
  • Loading branch information
tsosunchia committed Nov 17, 2023
1 parent 690f734 commit 4bef8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func Excute() {
}

// 暂时弃用
var router *bool
router := new(bool)
*router = false
if !*tablePrint {
if *classicPrint {
Expand Down

0 comments on commit 4bef8b9

Please sign in to comment.