(dir, filename string)
| 18 | } |
| 19 | |
| 20 | func (o *Options) ReadConfig(dir, filename string) (string, *config.Config, error) { |
| 21 | path, conf, err := readConfig(o.Stderr, dir, filename) |
| 22 | if err != nil { |
| 23 | return path, conf, err |
| 24 | } |
| 25 | if o.MutateConfig != nil { |
| 26 | o.MutateConfig(conf) |
| 27 | } |
| 28 | return path, conf, nil |
| 29 | } |
no test coverage detected