| ... | @@ -179,7 +179,7 @@ export function gitRemoveWorktreeMutationOptions(input: { | ... | @@ -179,7 +179,7 @@ export function gitRemoveWorktreeMutationOptions(input: { |
| 179 | if (!input.api) { | 179 | if (!input.api) { |
| 180 | throw new Error("Git worktree removal is unavailable."); | 180 | throw new Error("Git worktree removal is unavailable."); |
| 181 | } | 181 | } |
| 182 | return input.api.git.removeWorktree({ cwd, path, force: force ?? null }); | 182 | return input.api.git.removeWorktree({ cwd, path, force }); |
| 183 | }, | 183 | }, |
| 184 | onSettled: async () => { | 184 | onSettled: async () => { |
| 185 | await invalidateGitQueries(input.queryClient); | 185 | await invalidateGitQueries(input.queryClient); |