Make paths absolute when reading from file
This commit is contained in:
parent
3a5fc0e9e7
commit
e88b83c85b
@ -40,6 +40,7 @@ func FromFile(path string) (*Settings, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
s.AbsolutePaths(filepath.Dir(path))
|
||||||
return &s, nil
|
return &s, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user