From 3d25441e7a24d9a78d96e0f5b3df06251ce6b08f Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Wed, 21 May 2025 15:24:23 -0400 Subject: [PATCH] Log config file paths after the --config one is added --- phases.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phases.go b/phases.go index 6a7f25e..ffb8db3 100644 --- a/phases.go +++ b/phases.go @@ -129,15 +129,15 @@ func (this *environment) phase30ConfigurationParsing() bool { log.Println("!!! (30) could not determine location of file(s):", err) return true } + if this.flags.configFile != "" { + paths = append(paths, this.flags.configFile) + } if this.Verb() { log.Println("(i) (30) have configuration files:") for _, paths := range paths { log.Println("(i) (30) -", paths) } } - if this.flags.configFile != "" { - paths = append(paths, this.flags.configFile) - } // parse every config and merge them all configs := make([]iniConfig, 0, len(paths)) for _, path := range paths {