mirror of
https://github.com/go-task/task.git
synced 2026-06-29 23:55:18 +00:00
fix: add changelog + fix for booleans for #1641
This commit is contained in:
2
internal/env/env.go
vendored
2
internal/env/env.go
vendored
@@ -29,7 +29,7 @@ func Get(t *ast.Task) []string {
|
||||
|
||||
func isTypeAllowed(v any) bool {
|
||||
switch v.(type) {
|
||||
case string, int, float32, float64:
|
||||
case string, bool, int, float32, float64:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user