summaryrefslogtreecommitdiff
path: root/source/github-helpers/does-file-exist.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/github-helpers/does-file-exist.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/github-helpers/does-file-exist.tsx')
-rw-r--r--source/github-helpers/does-file-exist.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/github-helpers/does-file-exist.tsx b/source/github-helpers/does-file-exist.tsx
index e0ed727b..b3709241 100644
--- a/source/github-helpers/does-file-exist.tsx
+++ b/source/github-helpers/does-file-exist.tsx
@@ -1,5 +1,5 @@
-import * as api from './api';
-import GitHubURL from './github-url';
+import * as api from './api.js';
+import GitHubURL from './github-url.js';
export default async function doesFileExist(url: GitHubURL): Promise<boolean> {
const {repository} = await api.v4(`