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 };