internal/config/config.go
Function LoadConfig
has 5 return statements (exceeds 4 allowed). Open
Open
func LoadConfig(fileLocation string) error {
if _, err := os.Stat(fileLocation); err != nil {
if fileLocation == "snowman.yaml" {
return utils.ErrorExit("Unable to locate snowman.yaml in the current working directory.", err)
} else {