diff --git a/src/fetch.ts b/src/fetch.ts index 0238bfa8..f47fd98d 100644 --- a/src/fetch.ts +++ b/src/fetch.ts @@ -225,7 +225,7 @@ export class FetchFactory { } catch (e: any) { channels.fetchResponse.publish({ fetch: fetchMeta, - error: e,n + error: e, } as FetchResponseDiagnosticsMessage); channels.response.publish({ request: reqMeta, diff --git a/src/index.ts b/src/index.ts index 141e1bee..ded47ff3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -45,7 +45,7 @@ export { setGlobalDispatcher, getGlobalDispatcher, Request, RequestInfo, RequestInit, Response, BodyInit, ResponseInit, - Headers, FormData, File, + Headers, FormData, } from 'undici'; // HttpClient2 is keep compatible with urllib@2 HttpClient2 export {