wip: using pflag and viper; remove go routine for exec file search

This commit is contained in:
2024-03-21 11:26:11 +11:00
parent a1d0360d46
commit 6032b6c0c1
9 changed files with 100 additions and 606 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func setup(t *testing.T) {
if configDir, err = os.MkdirTemp("", "wingmate-*-test"); err != nil {
t.Fatal("setup", err)
}
viper.Set(EnvConfigPath, configDir)
viper.Set(ConfigPath, configDir)
}
func tear(t *testing.T) {