Skip to content

Commit

Permalink
Improve logging in readConfig to include the repository source (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavyaus authored Dec 12, 2024
1 parent bf30ae8 commit 7ee46de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/octokit.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/octokit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export class OctoKit implements GitHub {
}

async readConfig(configPath: string, configRepo?: string): Promise<any> {
safeLog('Reading config at ' + configPath);
safeLog(`Reading config at ${configPath} from ${configRepo ?? this.params.repo}`);
const repoPath = `.github/${configPath}.json`;
try {
const data = (
Expand Down

0 comments on commit 7ee46de

Please sign in to comment.