We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 619caa4 commit 172ef05Copy full SHA for 172ef05
src/main/git-utils.ts
@@ -131,11 +131,7 @@ export function isWorktreeDirty(worktreePath: string): boolean {
131
}
132
133
134
-export function removeWorktree(
135
- projectPath: string,
136
- worktreePath: string,
137
- force = false
138
-): boolean {
+export function removeWorktree(projectPath: string, worktreePath: string, force = false): boolean {
139
try {
140
const args = ['worktree', 'remove', worktreePath]
141
if (force) args.push('--force')
0 commit comments