diff options
author | 2020-11-18 19:55:59 -0500 | |
---|---|---|
committer | 2020-11-18 18:55:59 -0600 | |
commit | a935456acab0c7bdc021829e18ce20230e18c752 (patch) | |
tree | e61eed13a433381ba223a4ca962e904c8740fc91 /source/github-helpers/index.ts | |
parent | cab33f6f47c4eef0a3bc793f2004767f34b6abe9 (diff) | |
download | refined-github-a7e8057d2e873d04e02d03e393b5ff604298d6b2.tar.gz refined-github-a7e8057d2e873d04e02d03e393b5ff604298d6b2.tar.zst refined-github-a7e8057d2e873d04e02d03e393b5ff604298d6b2.zip |
Lint (#3723)20.11.19
Diffstat (limited to 'source/github-helpers/index.ts')
-rw-r--r-- | source/github-helpers/index.ts | 5 |
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')!); }; |