ing
This commit is contained in:
parent
89da001e7d
commit
07be57fe25
|
@ -104,9 +104,10 @@ func (c *config) getConfigFiles(files ...string) []string {
|
||||||
|
|
||||||
for _, file := range files {
|
for _, file := range files {
|
||||||
// check configuration
|
// check configuration
|
||||||
pFile := filepath.Join(c.configPath, file)
|
if absin, err := absPathify(filepath.Join(c.configPath, file)); nil == err {
|
||||||
if exists(pFile) {
|
if exists(absin) {
|
||||||
results = append(results, pFile)
|
results = append(results, absin)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user