Skip to content

Commit caff131

Browse files
tkanngaylei
authored andcommitted
Fix file parsing error. (#36)
1 parent 90ee6bf commit caff131

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/plugin/config.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ type Config struct {
2424

2525
func Load(s string) (*Config, error) {
2626
cfg := &Config{}
27-
28-
err := yaml.UnmarshalStrict([]byte(s), cfg)
27+
err := yaml.Unmarshal([]byte(s), cfg)
2928
if err != nil {
3029
return nil, err
3130
}

0 commit comments

Comments
 (0)