From b60885c42928304fba36c5f534dc72474f80448d Mon Sep 17 00:00:00 2001 From: Sascha Andres Date: Thu, 15 Dec 2016 07:11:20 +0100 Subject: [PATCH] Checking for full path of new config file location --- settings/settings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)