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