diff --git a/settings/settings.go b/settings/settings.go index 68691d9..7b2e2e3 100644 --- a/settings/settings.go +++ b/settings/settings.go @@ -33,7 +33,7 @@ type Resources struct { // Read from the configuration file func (s *Settings) Read(out interface{}) error { localConfigPath := s.Resources.Config - if _, err := os.Stat(".realize/"); err == nil { + if _, err := os.Stat(".realize/" + s.Resources.Config); err == nil { localConfigPath = ".realize/" + s.Resources.Config } content, err := s.Stream(localConfigPath)