mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update github.com/hashicorp/hcl/v2 to v2.19.1
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
4
vendor/github.com/zclconf/go-cty/cty/helper.go
generated
vendored
4
vendor/github.com/zclconf/go-cty/cty/helper.go
generated
vendored
@ -8,7 +8,7 @@ import (
|
||||
// unknowns, for operations that short-circuit to return unknown in that case.
|
||||
func anyUnknown(values ...Value) bool {
|
||||
for _, val := range values {
|
||||
if val.v == unknown {
|
||||
if _, unknown := val.v.(*unknownType); unknown {
|
||||
return true
|
||||
}
|
||||
}
|
||||
@ -39,7 +39,7 @@ func typeCheck(required Type, ret Type, values ...Value) (shortCircuit *Value, e
|
||||
)
|
||||
}
|
||||
|
||||
if val.v == unknown {
|
||||
if _, unknown := val.v.(*unknownType); unknown {
|
||||
hasUnknown = true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user