Skip to content

Commit

Permalink
chore: added data for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Jan 14, 2025
1 parent 8c74310 commit 7d7aea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ async function download({ context, repository, owner }: { context: GitHubContext
path: filePath,
mediaType: { format: "raw" },
});
console.log(`Configuration file found at ${owner}/${repository}/${filePath}. xRateLimit remaining: ${headers?.["x-ratelimit-remaining"]}`);
console.log(`Configuration file found at ${owner}/${repository}/${filePath}. xRateLimit remaining: ${headers?.["x-ratelimit-remaining"]}. Data:`, data);
return data as unknown as string; // this will be a string if media format is raw
} catch (err) {
// In case of a missing config, do not log it as an error
Expand Down

0 comments on commit 7d7aea1

Please sign in to comment.