Skip to content

Commit

Permalink
🚑 Fix loading repositories in config file
Browse files Browse the repository at this point in the history
  • Loading branch information
wesen committed Jan 19, 2024
1 parent 9107998 commit cb5a939
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/handlers/config-file.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func NewRepositoryFactoryFromReaderLoaders(
) RepositoryFactory {
return func(dirs []string) (*repositories.Repository, error) {
r := repositories.NewRepository(
repositories.WithFS(os.DirFS(".")),
repositories.WithDirectories(dirs...),
repositories.WithUpdateCallback(func(cmd cmds.Command) error {
description := cmd.Description()
Expand Down

0 comments on commit cb5a939

Please sign in to comment.