summaryrefslogtreecommitdiff
path: root/source/features/enable-file-links-in-compare-view.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2023-05-04 23:22:17 +0800
committerGravatar GitHub <noreply@github.com> 2023-05-04 23:22:17 +0800
commitb6dc0edc94cebdee74d67f5919f46c28cd96b9f8 (patch)
treeef97add33058dd7f65e662f402cf7ce24b7482e8 /source/features/enable-file-links-in-compare-view.tsx
parent0f0d7435a649466084fab40bb7fe0481b0c73dba (diff)
downloadrefined-github-b6dc0edc94cebdee74d67f5919f46c28cd96b9f8.tar.gz
refined-github-b6dc0edc94cebdee74d67f5919f46c28cd96b9f8.tar.zst
refined-github-b6dc0edc94cebdee74d67f5919f46c28cd96b9f8.zip
Lint (ESM file imports + named functions) (#6613)
Diffstat (limited to 'source/features/enable-file-links-in-compare-view.tsx')
-rw-r--r--source/features/enable-file-links-in-compare-view.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/features/enable-file-links-in-compare-view.tsx b/source/features/enable-file-links-in-compare-view.tsx
index e59dc4fb..5dfaab2b 100644
--- a/source/features/enable-file-links-in-compare-view.tsx
+++ b/source/features/enable-file-links-in-compare-view.tsx
@@ -4,9 +4,9 @@ import {GitBranchIcon} from '@primer/octicons-react';
import * as pageDetect from 'github-url-detection';
import delegate, {DelegateEvent} from 'delegate-it';
-import features from '../feature-manager';
-import GitHubURL from '../github-helpers/github-url';
-import {getBranches} from '../github-helpers/pr-branches';
+import features from '../feature-manager.js';
+import GitHubURL from '../github-helpers/github-url.js';
+import {getBranches} from '../github-helpers/pr-branches.js';
/** Rebuilds the "View file" link because it points to the base repo and to the commit, instead of the head repo and its branch */
function handlePRMenuOpening({delegateTarget: dropdown}: DelegateEvent): void {