diff --git a/dir.go b/dir.go index 2a85fa1..ea6bebd 100644 --- a/dir.go +++ b/dir.go @@ -245,7 +245,7 @@ func (d *Dir) write(dstDir string, task *Task) error { if d.feed != nil { const path = "atom.xml" dstPath := pathpkg.Join(dirPath, path) - os.MkdirAll(dstDir, 0755) + os.MkdirAll(dirPath, 0755) if err := os.WriteFile(dstPath, d.feed, 0644); err != nil { return err }