diff --git a/dist/cleanup/index.js b/dist/cleanup/index.js index 3511e24..387fa0e 100644 --- a/dist/cleanup/index.js +++ b/dist/cleanup/index.js @@ -74665,6 +74665,7 @@ function createTree(metadataJson) { }, ] })); console.log(response); + console.log("Tree-sha" + response.data.sha); return response.data.sha; }); } diff --git a/dist/main/index.js b/dist/main/index.js index 725ce68..05e3213 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -75662,6 +75662,7 @@ function createTree(metadataJson) { }, ] })); console.log(response); + console.log("Tree-sha" + response.data.sha); return response.data.sha; }); } diff --git a/src/utils.ts b/src/utils.ts index a29016a..4171ec9 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -8,7 +8,6 @@ import {readFileSync, readdirSync} from 'fs' //import {Octokit} from '@octokit/core' import {createHash} from 'crypto' import {join} from 'path' -import fetch from "node-fetch"; import {Base64} from "js-base64"; import { Octokit } from '@octokit/rest'; @@ -256,5 +255,6 @@ export async function createTree(metadataJson: string): Promise { ); console.log(response); + console.log("Tree-sha" + response.data.sha); return response.data.sha; }