diff options
Diffstat (limited to 'utils/config.go')
-rw-r--r-- | utils/config.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/config.go b/utils/config.go index 3ce2215a3..2e57ec917 100644 --- a/utils/config.go +++ b/utils/config.go @@ -51,9 +51,7 @@ func FindPath(path string, baseSearchPaths []string, filter func(os.FileInfo) bo } searchPaths := []string{} - for _, baseSearchPath := range baseSearchPaths { - searchPaths = append(searchPaths, baseSearchPath) - } + searchPaths = append(searchPaths, baseSearchPaths...) // Additionally attempt to search relative to the location of the running binary. var binaryDir string |