From 3b38b79aacd3f62a0cd518f577d22260d79b572a Mon Sep 17 00:00:00 2001 From: Noah Date: Sun, 31 Oct 2021 15:13:30 -0500 Subject: [PATCH] Update DOMHelper.ts --- src/platforms/GitHub/DOMHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/GitHub/DOMHelper.ts b/src/platforms/GitHub/DOMHelper.ts index b51c961..c83a764 100644 --- a/src/platforms/GitHub/DOMHelper.ts +++ b/src/platforms/GitHub/DOMHelper.ts @@ -7,7 +7,7 @@ import { CopyFileButton, copyFileButtonClassName } from './CopyFileButton' export function resolveMeta(): Partial { const metaData = { - userName: $('[itemprop="author"] > a[rel="author"]]', e => e.textContent?.trim()), + userName: $('[itemprop="author"] > a[rel="author"]', e => e.textContent?.trim()), repoName: $('[itemprop="name"] > a[href]', e => e.textContent?.trim()), branchName: getCurrentBranch(true), }