Skip to content

Commit

Permalink
Further debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
tidoust committed Oct 18, 2023
1 parent 49150be commit 55bce05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/manage-repo-labels.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ async function createRepoLabels(owner, repo) {
}
}
}`;
console.log(query);
const res = await sendGraphQLRequest(query);
console.log(JSON.stringify(res, null, 2));
const repositoryId = res.data.repository.id;
Expand Down Expand Up @@ -149,6 +150,8 @@ const owner = process.argv[2].includes('/') ?
const repo =
process.argv[3] ??
process.argv[2].split('/')[1];
console.log(`- owner: ${owner}`);
console.log(`- repo: ${repo}`);

createRepoLabels(owner, repo)
.catch(err => {
Expand Down

0 comments on commit 55bce05

Please sign in to comment.