summaryrefslogtreecommitdiff
path: root/source/features/pr-commit-lines-changed.tsx
diff options
context:
space:
mode:
authorGravatar yakov116 <16872793+yakov116@users.noreply.github.com> 2020-08-19 21:52:22 -0400
committerGravatar GitHub <noreply@github.com> 2020-08-20 02:52:22 +0100
commit4248fcf8a430093077c5109e6e5f675c6a068045 (patch)
treee9009e6fd4fe7514e2a671262ba9d07dfbf07f95 /source/features/pr-commit-lines-changed.tsx
parent1fb0f872c8d8739f3e6108c633dce3d31b6e4dfd (diff)
downloadrefined-github-4248fcf8a430093077c5109e6e5f675c6a068045.tar.gz
refined-github-4248fcf8a430093077c5109e6e5f675c6a068045.tar.zst
refined-github-4248fcf8a430093077c5109e6e5f675c6a068045.zip
Lint (#3478)20.8.20
Diffstat (limited to 'source/features/pr-commit-lines-changed.tsx')
-rw-r--r--source/features/pr-commit-lines-changed.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/pr-commit-lines-changed.tsx b/source/features/pr-commit-lines-changed.tsx
index f7e85cda..cf4b8661 100644
--- a/source/features/pr-commit-lines-changed.tsx
+++ b/source/features/pr-commit-lines-changed.tsx
@@ -8,7 +8,7 @@ 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<[number, number]> => {
+const getCommitChanges = cache.function(async (commit: string): Promise<[additions: number, deletions: number]> => {
const {repository} = await api.v4(`
repository(${getRepoGQL()}) {
object(expression: "${commit}") {