From 6ada2af2e1de920edf8d3550c2f3a664b16a5deb Mon Sep 17 00:00:00 2001 From: FabianLars Date: Sat, 8 Jun 2024 13:54:34 +0200 Subject: [PATCH] chore(http): Run prettier --- plugins/http/guest-js/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/http/guest-js/index.ts b/plugins/http/guest-js/index.ts index 788e544e..a99dd3ec 100644 --- a/plugins/http/guest-js/index.ts +++ b/plugins/http/guest-js/index.ts @@ -102,7 +102,7 @@ export interface ClientOptions { */ export async function fetch( input: URL | Request | string, - init?: RequestInit & ClientOptions + init?: RequestInit & ClientOptions, ): Promise { const maxRedirections = init?.maxRedirections; const connectTimeout = init?.connectTimeout; @@ -150,7 +150,7 @@ export async function fetch( // we need to ensure we have all header values as strings // eslint-disable-next-line typeof val === "string" ? val : (val as any).toString(), - ] + ], ); const rid = await invoke("plugin:http|fetch", { @@ -193,7 +193,7 @@ export async function fetch( "plugin:http|fetch_read_body", { rid: responseRid, - } + }, ); const res = new Response( @@ -206,7 +206,7 @@ export async function fetch( headers: responseHeaders, status, statusText, - } + }, ); // url is read only but seems like we can do this