internal/config/utils.go
Function NewFromFile
has 5 return statements (exceeds 4 allowed). Open
Open
func NewFromFile(filePath string) (*Config, error) {
var configuration Config
absoluteFilePath, resolvePathError := utils.ResolvePath(filePath)
if resolvePathError != nil {
Function GetFiles
has 5 return statements (exceeds 4 allowed). Open
Open
func GetFiles(opt ...GetFilesOptions) ([]string, error) {
configurationFiles := []string{}
// local configurations
contextualConfigPath, getWdError := os.Getwd()