fix: repairs broken config unit-tests
Repairs the `config` unit-tests which were broken with `3.0.4`. It does so by providing a simple switch that allows us to disable the resolution of filesystem symlinks when running tests.
This commit is contained in:
1 parent
51aaaf3423
commit
d6ebe0799d
3 files changed
+30
-27
No files matched your search
+1
-1
@@ -39,7 +39,7 @@ func main() {
|
||||
}
|
||||
|
||||
// initialize the configs
|
||||
conf, err := config.New(opts, confpath)
|
||||
conf, err := config.New(opts, confpath, true)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "failed to load config: %v\n", err)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in new issue
Block a user