fix(done): use ResolveBeadsDir in getDispatcherFromBead
Fixes PR #39 to follow the pattern established in PR #54 - all beads initialization in done.go should use ResolveBeadsDir to support .beads/redirect files in worktrees.
This commit is contained in:
@@ -445,7 +445,7 @@ func getDispatcherFromBead(cwd, issueID string) string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
bd := beads.New(cwd)
|
bd := beads.New(beads.ResolveBeadsDir(cwd))
|
||||||
issue, err := bd.Show(issueID)
|
issue, err := bd.Show(issueID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return ""
|
return ""
|
||||||
|
|||||||
Reference in New Issue
Block a user