diff options
author | 2020-11-18 19:55:59 -0500 | |
---|---|---|
committer | 2020-11-18 18:55:59 -0600 | |
commit | a935456acab0c7bdc021829e18ce20230e18c752 (patch) | |
tree | e61eed13a433381ba223a4ca962e904c8740fc91 /source/features/pr-commit-lines-changed.tsx | |
parent | cab33f6f47c4eef0a3bc793f2004767f34b6abe9 (diff) | |
download | refined-github-a935456acab0c7bdc021829e18ce20230e18c752.tar.gz refined-github-a935456acab0c7bdc021829e18ce20230e18c752.tar.zst refined-github-a935456acab0c7bdc021829e18ce20230e18c752.zip |
Lint (#3723)20.11.19
Diffstat (limited to 'source/features/pr-commit-lines-changed.tsx')
-rw-r--r-- | source/features/pr-commit-lines-changed.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/features/pr-commit-lines-changed.tsx b/source/features/pr-commit-lines-changed.tsx index 9bd9379a..c5d7ac10 100644 --- a/source/features/pr-commit-lines-changed.tsx +++ b/source/features/pr-commit-lines-changed.tsx @@ -6,11 +6,10 @@ import * as pageDetect from 'github-url-detection'; import features from '.'; import * as api from '../github-helpers/api'; import pluralize from '../helpers/pluralize'; -import {getRepoGQL} from '../github-helpers'; const getCommitChanges = cache.function(async (commit: string): Promise<[additions: number, deletions: number]> => { const {repository} = await api.v4(` - repository(${getRepoGQL()}) { + repository() { object(expression: "${commit}") { ... on Commit { additions |