summaryrefslogtreecommitdiff
path: root/source/features/pr-commit-lines-changed.tsx
diff options
context:
space:
mode:
authorGravatar Fregante <opensource@bfred.it> 2020-05-19 22:52:08 +0200
committerGravatar GitHub <noreply@github.com> 2020-05-19 22:52:08 +0200
commitf9d8b7a5a402e19b0cb16fd937e0f19c43a6e699 (patch)
tree0b7a3d6cc31c8975921a7d7fcf6c4bc7e0e020e2 /source/features/pr-commit-lines-changed.tsx
parent508c93a3f4cf219f343d19b927ae0d07ec3ad7f8 (diff)
downloadrefined-github-f9d8b7a5a402e19b0cb16fd937e0f19c43a6e699.tar.gz
refined-github-f9d8b7a5a402e19b0cb16fd937e0f19c43a6e699.tar.zst
refined-github-f9d8b7a5a402e19b0cb16fd937e0f19c43a6e699.zip
Meta: Reorganize utility functions (#3110)
Diffstat (limited to 'source/features/pr-commit-lines-changed.tsx')
-rw-r--r--source/features/pr-commit-lines-changed.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/features/pr-commit-lines-changed.tsx b/source/features/pr-commit-lines-changed.tsx
index 42d38d93..327bafe4 100644
--- a/source/features/pr-commit-lines-changed.tsx
+++ b/source/features/pr-commit-lines-changed.tsx
@@ -4,9 +4,10 @@ import select from 'select-dom';
import elementReady from 'element-ready';
import * as pageDetect from 'github-url-detection';
-import * as api from '../libs/api';
-import features from '../libs/features';
-import {getRepoGQL, pluralize} from '../libs/utils';
+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<[number, number]> => {
const {repository} = await api.v4(`