Skip to content

Commit

Permalink
Revert "fix must true"
Browse files Browse the repository at this point in the history
This reverts commit cdb5740.
  • Loading branch information
Fs02 committed Aug 19, 2023
1 parent cdb5740 commit c5dd9b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func must(err error) {
}

func mustTrue(flag bool, msg string) {
if flag {
if !flag {
panic(msg)
}
}
Expand Down

0 comments on commit c5dd9b4

Please sign in to comment.