use correct branch name when deleting

This commit is contained in:
Ryan Mulligan 2021-11-23 07:53:33 -08:00
parent 8fb9b8c3ed
commit c78b63b443

View File

@ -734,5 +734,5 @@ withWorktree branch attrpath updateEnv action = do
pure path)
(\ path -> do
Git.worktreeRemove path
Git.delete1 branch)
Git.delete1 (branchName updateEnv))
(\ path -> withCurrentDirectory path action)