We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc3b4f6 commit 2e785edCopy full SHA for 2e785ed
1 file changed
packages/cli/src/routes/viewer.ts
@@ -21,7 +21,6 @@ export function viewerRoutes(): Route[] {
21
async function resolveViewer(): Promise<Viewer> {
22
const repoRoot = readRepoRoot();
23
const ghViewer = await getGitHubViewer(repoRoot);
24
- // Show the GitHub login (e.g. "dastratakos"), not the display name.
25
if (ghViewer) return { name: ghViewer.login, avatarUrl: ghViewer.avatarUrl };
26
const gitName = readGitUserName(repoRoot);
27
if (gitName) return { name: gitName, avatarUrl: null };
0 commit comments