Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
qwenode committed Jul 11, 2024
1 parent 6b08ba3 commit 3644d39
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ee/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ import (
func GetBool(key string) bool {
value := strings.ToLower(GetValue(key))
switch value {
case "ok":
case "true":
case "1":
case "yes":
case "y":
case "on":
case "ok", "true", "1", "yes", "y", "on", "good":
return true
}
return false
Expand Down

0 comments on commit 3644d39

Please sign in to comment.