mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-06-18 21:45:04 +08:00
ci(chore): Fix stylings
This commit is contained in:
parent
2709c5d448
commit
b833193926
@ -30,7 +30,7 @@ func EnsureBool(p interface{}, defaultVal bool) bool {
|
||||
if !j.Exists() {
|
||||
return defaultVal
|
||||
}
|
||||
switch j.Type { // nolint
|
||||
switch j.Type {
|
||||
case gjson.True:
|
||||
return true
|
||||
case gjson.False:
|
||||
|
Loading…
x
Reference in New Issue
Block a user