From 13b3d247387dc1d727dd1390aae77c58927c44f1 Mon Sep 17 00:00:00 2001 From: adnano Date: Sat, 15 May 2021 21:04:15 -0400 Subject: [PATCH] dir: Fix atom template output path --- dir.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dir.go b/dir.go index 2e3d13a..f236239 100644 --- a/dir.go +++ b/dir.go @@ -248,7 +248,7 @@ func (d *Dir) write(dstDir string, task *Task) error { // Write the atom feed if d.feed != nil { const path = "atom.xml" - dstPath := pathpkg.Join(dstDir, path) + dstPath := pathpkg.Join(dirPath, path) os.MkdirAll(dstDir, 0755) if err := os.WriteFile(dstPath, d.feed, 0644); err != nil { return err