internal/config/config.go
Function newFromFile
has 5 return statements (exceeds 4 allowed). Open
Open
func newFromFile(path string) (*Config, error) {
cfg := &Config{}
*cfg = DefaultConfig
cfg.RootDir = filepath.Dir(path)
FIXME found Open
Open
// FIXME: Let's not allow this to be set in config.yml
- Exclude checks