From 35321474242cc1f3dff7a2fc7b7c2f27dd5b4156 Mon Sep 17 00:00:00 2001 From: xHyroM Date: Thu, 28 Jul 2022 07:53:26 +0200 Subject: [PATCH] fix: missing .js --- dist/utils/getGithubRelease.js | 2 +- src/utils/getGithubRelease.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/utils/getGithubRelease.js b/dist/utils/getGithubRelease.js index 7e2c607..faa6939 100644 --- a/dist/utils/getGithubRelease.js +++ b/dist/utils/getGithubRelease.js @@ -1,5 +1,5 @@ import fetch from 'node-fetch'; -import { getArchitecture } from './getAsset'; +import { getArchitecture } from './getAsset.js'; export default async (version, token, fullRepository, customDownloadUrl, miscTestBuilds) => { const repository = miscTestBuilds ? 'oven-sh/misc-test-builds' : fullRepository.split('/').slice(3).join('/'); let url; diff --git a/src/utils/getGithubRelease.ts b/src/utils/getGithubRelease.ts index 43a2e5c..c83daba 100644 --- a/src/utils/getGithubRelease.ts +++ b/src/utils/getGithubRelease.ts @@ -1,5 +1,5 @@ import fetch from 'node-fetch'; -import { getArchitecture } from './getAsset'; +import { getArchitecture } from './getAsset.js'; export interface Asset { name: string;