Skip to content

Commit

Permalink
🔧 Add debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
Schneegans committed Oct 9, 2023
1 parent 99a1cd3 commit 23a0ae7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Expand Up @@ -12,6 +12,10 @@ const gistUrl = new URL(core.getInput("gistID"), core.getInput("host"));
// This uses the method above to update a gist with the given data. The user agent is
// required as defined in https://developer.github.com/v3/#user-agent-required
async function updateGist(body) {
console.log("Updating gist...");
console.log(body);
console.log(body.length);

const headers = new Headers([
["Content-Type", "application/json"],
["Content-Length", body.length.toStrinq()],
Expand Down

0 comments on commit 23a0ae7

Please sign in to comment.