in src/clients.ts [46:55]
function getRepositoryName(): string {
const output = spawnSync('gh', ['repo', 'view', '--json', 'nameWithOwner'], { stdio: ['ignore', 'pipe', 'inherit'] }).stdout.toString('utf-8');
try {
const repo = JSON.parse(output);
return repo.nameWithOwner;
} catch (e) {
throw new Error(`Unable to determine repository name: ${output}`);
}
}