Showing the changes to apps/web/src (1 of 1 file). Show all
Unified · Split
| @@ -179,7 +179,7 @@ export function gitRemoveWorktreeMutationOptions(input: { · 178 unmodified lines | ||
| 179 | 179 | if (!input.api) { |
| 180 | 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 | 184 | onSettled: async () => { |
| 185 | 185 | await invalidateGitQueries(input.queryClient); |