From 42f8451af1117bd1710261f4e0a554137d336772 Mon Sep 17 00:00:00 2001 From: busma13 Date: Thu, 1 Aug 2024 15:09:28 -0700 Subject: [PATCH] fixes --- bin/fetch-github-release | 4 ++-- src/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/fetch-github-release b/bin/fetch-github-release index b73aeff..972502a 100755 --- a/bin/fetch-github-release +++ b/bin/fetch-github-release @@ -3,5 +3,5 @@ import path from 'node:path'; import fs from 'node:fs'; import { fileURLToPath } from "node:url"; -const __filename = fileURLToPath(import.meta.url); -import(path.join(path.dirname(fs.realpathSync(__filename)), '../dist/src/cli.js')); +const filename = fileURLToPath(import.meta.url); +import(path.join(path.dirname(fs.realpathSync(filename)), '../dist/src/cli.js')); diff --git a/src/index.ts b/src/index.ts index 23a5aa1..2eeb195 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ import { downloadRelease } from './downloadRelease.js'; -import { HTTPError } from './getReleases'; +import { HTTPError } from './getReleases.js'; export { downloadRelease, HTTPError };