fix: missing .js

This commit is contained in:
xHyroM 2022-07-28 07:53:26 +02:00
parent e6a8865f72
commit 3532147424
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import fetch from 'node-fetch'; import fetch from 'node-fetch';
import { getArchitecture } from './getAsset'; import { getArchitecture } from './getAsset.js';
export default async (version, token, fullRepository, customDownloadUrl, miscTestBuilds) => { export default async (version, token, fullRepository, customDownloadUrl, miscTestBuilds) => {
const repository = miscTestBuilds ? 'oven-sh/misc-test-builds' : fullRepository.split('/').slice(3).join('/'); const repository = miscTestBuilds ? 'oven-sh/misc-test-builds' : fullRepository.split('/').slice(3).join('/');
let url; let url;

View File

@ -1,5 +1,5 @@
import fetch from 'node-fetch'; import fetch from 'node-fetch';
import { getArchitecture } from './getAsset'; import { getArchitecture } from './getAsset.js';
export interface Asset { export interface Asset {
name: string; name: string;