diff --git a/internal/app/spec_state.go b/internal/app/spec_state.go index e068dcbd..a9e4d430 100644 --- a/internal/app/spec_state.go +++ b/internal/app/spec_state.go @@ -25,5 +25,5 @@ func (pc *StateFiles) specFromYAML(file string) error { yamlFile := string(rawYamlFile) - return yaml.UnmarshalStrict([]byte(yamlFile), pc) + return yaml.Unmarshal([]byte(yamlFile), pc) } diff --git a/internal/app/state_files.go b/internal/app/state_files.go index 495d8a26..76a25508 100644 --- a/internal/app/state_files.go +++ b/internal/app/state_files.go @@ -94,7 +94,7 @@ func (s *State) fromYAML(file string) error { yamlFile = substituteSSM(yamlFile) } - if err = yaml.UnmarshalStrict([]byte(yamlFile), s); err != nil { + if err = yaml.Unmarshal([]byte(yamlFile), s); err != nil { return err }