From 6caa733a1fd366661bbb7c07c76def4657d7c96e Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Tue, 15 Mar 2022 00:52:04 -0700 Subject: [PATCH] whoops, forgot base --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index f2acf00..8e86154 100644 --- a/main.go +++ b/main.go @@ -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 }