diff --git a/src/getReleases.ts b/src/getReleases.ts index 7f6c11a..12143ec 100644 --- a/src/getReleases.ts +++ b/src/getReleases.ts @@ -20,3 +20,5 @@ export async function getReleases(user: string, repo: string): Promise(url, requestConfig); return r.body; } + +export { HTTPError } from 'got'; diff --git a/src/index.ts b/src/index.ts index 8ad2c64..13b164f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,5 @@ import { downloadRelease } from './downloadRelease'; +import { HTTPError } from './getReleases'; export { downloadRelease }; +export { HTTPError };