diff --git a/api/octokit.js b/api/octokit.js index 9d4c0b60..7ba78c1e 100644 --- a/api/octokit.js +++ b/api/octokit.js @@ -153,7 +153,7 @@ class OctoKit { } } async readConfig(configPath, configRepo) { - (0, utils_1.safeLog)('Reading config at ' + configPath); + (0, utils_1.safeLog)(`Reading config at ${configPath} from ${configRepo !== null && configRepo !== void 0 ? configRepo : this.params.repo}`); const repoPath = `.github/${configPath}.json`; try { const data = (await this.octokit.rest.repos.getContent({ diff --git a/api/octokit.ts b/api/octokit.ts index 9e74a135..d098f1b4 100644 --- a/api/octokit.ts +++ b/api/octokit.ts @@ -173,7 +173,7 @@ export class OctoKit implements GitHub { } async readConfig(configPath: string, configRepo?: string): Promise { - safeLog('Reading config at ' + configPath); + safeLog(`Reading config at ${configPath} from ${configRepo ?? this.params.repo}`); const repoPath = `.github/${configPath}.json`; try { const data = (