move templates to user config dir
All checks were successful
/ build-linux-amd64 (push) Successful in 1m6s
All checks were successful
/ build-linux-amd64 (push) Successful in 1m6s
This commit is contained in:
parent
34065bd06f
commit
1d03bdebd0
2 changed files with 6 additions and 7 deletions
2
main.go
2
main.go
|
|
@ -151,7 +151,7 @@ func main() {
|
|||
}
|
||||
|
||||
// good to have early on
|
||||
templates, err := yt.FetchTemplates()
|
||||
templates, err := yt.FetchTemplates(path.Join(userConfigDir, "vodular", "templates"))
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to fetch templates: %v", err)
|
||||
os.Exit(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue