mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-25 15:22:59 +00:00
2
index.js
2
index.js
@@ -82,8 +82,8 @@ async function commitChanges(file, filePath) {
|
||||
);
|
||||
|
||||
const baseTreeSha = branchResponse.data.commit.sha;
|
||||
console.log(typeof file, file)
|
||||
// Create a new blob with the updated content
|
||||
console.log('Branch')
|
||||
const blobResponse = await axios.post(
|
||||
`https://api.github.com/repos/${owner}/${repo}/git/blobs`,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user