Skip to content

Commit

Permalink
Update worktree.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed May 17, 2024
1 parent b952651 commit 0401312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/worktree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class GitCheckout {
return [
'git',
'checkout',
this.orphan ? '--orphan' : '-B',
'--orphan',
this.branch,
this.commitish || ''
].join(' ')
Expand Down Expand Up @@ -46,7 +46,7 @@ export async function generateWorktree(
action.silent
)

// const checkout = new GitCheckout(action.branch)
const checkout = new GitCheckout(action.branch)

if (branchExists) {
// There's existing data on the branch to check out
Expand Down

0 comments on commit 0401312

Please sign in to comment.