summaryrefslogtreecommitdiff
path: root/source/github-helpers/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'source/github-helpers/index.ts')
-rw-r--r--source/github-helpers/index.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/github-helpers/index.ts b/source/github-helpers/index.ts
index 5b08dc55..b57f1fd4 100644
--- a/source/github-helpers/index.ts
+++ b/source/github-helpers/index.ts
@@ -51,11 +51,6 @@ export const buildRepoURL = (...pathParts: Array<string | number> & {0: string})
return [location.origin, getRepo()?.nameWithOwner, ...pathParts].join('/');
};
-export const getRepoGQL = (): string => {
- const {owner, name} = getRepo()!;
- return `owner: "${owner}", name: "${name}"`;
-};
-
export const getPRHeadRepo = (): ReturnType<typeof getRepo> => {
return getRepo(select<HTMLAnchorElement>('.commit-ref.head-ref a')!);
};