mirror of
https://github.com/jackyzha0/hugo-obsidian.git
synced 2024-06-14 11:42:35 +03:00
whoops, forgot base
This commit is contained in:
parent
77c0921bf4
commit
6caa733a1f
2
main.go
2
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user