diff --git a/file.go b/file.go index 3e4380b..219d4e2 100644 --- a/file.go +++ b/file.go @@ -212,7 +212,6 @@ func (f *fileOperate) ReadForYaml(receiver interface{}) error { return err } decoder := yaml.NewDecoder(bytes.NewReader(content)) - decoder.SetStrict(true) return decoder.Decode(receiver) }