diff --git a/src/github/operations/branch.ts b/src/github/operations/branch.ts index e818da6..c525b6e 100644 --- a/src/github/operations/branch.ts +++ b/src/github/operations/branch.ts @@ -122,7 +122,7 @@ export async function setupBranch( // Verify the branch was created const currentBranch = await $`git branch --show-current`; - const branchName = currentBranch.toString().trim(); + const branchName = currentBranch.text().trim(); console.log(`Current branch after creation: ${branchName}`); if (branchName === newBranch) {