From bca2b145bcb5799545487cc6ed564588c10bc9de Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 18 Nov 2018 19:09:28 +0100 Subject: [PATCH] fix tests --- internal/cnf/loader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cnf/loader.go b/internal/cnf/loader.go index 1a00956..e934655 100644 --- a/internal/cnf/loader.go +++ b/internal/cnf/loader.go @@ -88,7 +88,7 @@ func loadFromContent(path string) (ConfigurationFormat, error) { defer file.Close() // extensions ordered by strictness of the language's syntax - extensions := []string{".json", ".nginx", ".ini", ".sh", ".yaml"} + extensions := []string{".json", ".nginx", ".ini", ".yaml", ".sh"} // try to load each available extension for _, ext := range extensions {