mirror of
https://github.com/aykhans/dodo.git
synced 2025-09-03 18:03:34 +00:00
Add 'ParseString' to the utils. Refactor enums of the 'ConfigFile'.
This commit is contained in:
@@ -187,7 +187,7 @@ func (parser *ConfigCLIParser) Parse() (*Config, error) {
|
||||
fieldParseErrors,
|
||||
*types.NewFieldParseError(
|
||||
"config-file",
|
||||
fmt.Errorf("file type '%s' not supported (supported types: %s)", err.Type, types.ConfigFileTypeYAML.String()),
|
||||
fmt.Errorf("file type '%s' not supported (supported types: %s)", err.Type, types.ConfigFileTypeYAML),
|
||||
),
|
||||
)
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user