From a935456acab0c7bdc021829e18ce20230e18c752 Mon Sep 17 00:00:00 2001 From: yakov116 <16872793+yakov116@users.noreply.github.com> Date: Wed, 18 Nov 2020 19:55:59 -0500 Subject: Lint (#3723) --- source/features/deep-reblame.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source/features/deep-reblame.tsx') diff --git a/source/features/deep-reblame.tsx b/source/features/deep-reblame.tsx index 637ab008..08f96012 100644 --- a/source/features/deep-reblame.tsx +++ b/source/features/deep-reblame.tsx @@ -10,12 +10,11 @@ import features from '.'; import * as api from '../github-helpers/api'; import GitHubURL from '../github-helpers/github-url'; import LoadingIcon from '../github-helpers/icon-loading'; -import {getRepoGQL} from '../github-helpers'; import looseParseInt from '../helpers/loose-parse-int'; const getPullRequestBlameCommit = mem(async (commit: string, prNumber: number, currentFilename: string): Promise => { const {repository} = await api.v4(` - repository(${getRepoGQL()}) { + repository() { file: object(expression: "${commit}:${currentFilename}") { id } @@ -64,7 +63,7 @@ async function redirectToBlameCommit(event: delegate.Event('a.message', blameHunk)!.pathname.split('/').pop()!; const blameUrl = new GitHubURL(location.href); -- cgit v1.2.3