mirror of
https://github.com/markwylde/claude-code-gitea-action.git
synced 2026-02-20 02:22:49 +08:00
Attempt to make this work
This commit is contained in:
@@ -122,7 +122,7 @@ export async function setupBranch(
|
|||||||
|
|
||||||
// Verify the branch was created
|
// Verify the branch was created
|
||||||
const currentBranch = await $`git branch --show-current`;
|
const currentBranch = await $`git branch --show-current`;
|
||||||
const branchName = currentBranch.toString().trim();
|
const branchName = currentBranch.text().trim();
|
||||||
console.log(`Current branch after creation: ${branchName}`);
|
console.log(`Current branch after creation: ${branchName}`);
|
||||||
|
|
||||||
if (branchName === newBranch) {
|
if (branchName === newBranch) {
|
||||||
|
|||||||
Reference in New Issue
Block a user