whoops, forgot base

This commit is contained in:
Jacky Zhao 2022-03-15 00:52:04 -07:00
parent 77c0921bf4
commit 6caa733a1f

View File

@ -46,7 +46,7 @@ type ConfigTOML struct {
func getIgnoredFiles(base string) (res map[string]struct{}) {
res = make(map[string]struct{})
source, err := ioutil.ReadFile(filepath.FromSlash("/config.toml"))
source, err := ioutil.ReadFile(filepath.FromSlash(base + "/config.toml"))
if err != nil {
return res
}