Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Fix path for initial commit file for empty repo

Tomas Valentaa607b8c0b340
diff --git a/github/pullRequest.ts b/github/pullRequest.ts
index 9d85a3d32..37e25a304 100644
--- a/github/pullRequest.ts
+++ b/github/pullRequest.ts
@@ -79,7 +79,7 @@ export async function createPR({
owner,
repo,
branch: defaultBranch,
- path: '/README.md',
+ path: 'README.md',
message: 'Initial commit',
content: Buffer.from(`# ${repo}`, 'utf8').toString('base64'),
})