We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e9f406 commit c1e62e3Copy full SHA for c1e62e3
value/unstructured.go
@@ -31,7 +31,7 @@ import (
31
func FromYAML(input []byte) (Value, error) {
32
var decoded interface{}
33
34
- if len(input) == 0 || (len(input) == 4 && string(input) == "null") {
+ if len(input) == 4 && string(input) == "null" {
35
// Special case since the yaml package doesn't accurately
36
// preserve this.
37
return Value{Null: true}, nil
0 commit comments