Skip to content

Commit 7b77fc9

Browse files
jordanstephensndeloof
authored andcommitted
fix fn name typo: GetConfigFiles
Signed-off-by: Jordan Stephens <[email protected]>
1 parent 3e083db commit 7b77fc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/options.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ func (o *ProjectOptions) GetWorkingDir() (string, error) {
403403
return os.Getwd()
404404
}
405405

406-
func (o *ProjectOptions) GeConfigFiles() ([]types.ConfigFile, error) {
406+
func (o *ProjectOptions) GetConfigFiles() ([]types.ConfigFile, error) {
407407
configPaths, err := o.getConfigPaths()
408408
if err != nil {
409409
return nil, err
@@ -466,7 +466,7 @@ func (o *ProjectOptions) LoadModel(ctx context.Context) (map[string]any, error)
466466

467467
// prepare converts ProjectOptions into loader's types.ConfigDetails and configures default load options
468468
func (o *ProjectOptions) prepare() (types.ConfigDetails, error) {
469-
configs, err := o.GeConfigFiles()
469+
configs, err := o.GetConfigFiles()
470470
if err != nil {
471471
return types.ConfigDetails{}, err
472472
}

0 commit comments

Comments
 (0)