Skip to content

Commit 28d1940

Browse files
committed
add diag logs
1 parent fdaf0f0 commit 28d1940

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/core.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ export const commitFilesFromBase64 = async ({
145145
let tempRefId: string;
146146

147147
try {
148+
console.log('createRef', JSON.stringify({
149+
owner,
150+
repo,
151+
ref: `refs/heads/${tempBranch}`,
152+
sha: baseOid,
153+
}))
148154
const createdTempRef = await octokit.rest.git.createRef({
149155
owner,
150156
repo,

tests/integration/node.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ describe("node", () => {
245245
});
246246
});
247247

248-
it("can commit using tag as a base", async () => {
248+
it.only("can commit using tag as a base", async () => {
249249
const branch = `${TEST_BRANCH_PREFIX}-tag-base`;
250250
branches.push(branch);
251251

0 commit comments

Comments
 (0)