fix: user correct token to access repositories as admin

This commit is contained in:
tdurieux
2023-02-06 08:05:49 +01:00
parent 8f122a0399
commit 4634b8d2d1
3 changed files with 48 additions and 5 deletions

View File

@@ -152,6 +152,9 @@ export default class GitHubStream extends GitHubBase implements SourceBase {
},
depth = 0
) {
console.log(
`sha ${sha}, countFiles: ${count.file} countRequest: ${count.request}, parentPath: "${parentPath}"`
);
count.request++;
const data = await this.getGHTree(sha, { recursive: false });
this.tree2Tree(data.tree, truncatedTree, parentPath);