Skip to content

Commit 6ada2af

Browse files
committed
chore(http): Run prettier
1 parent 8e1ae08 commit 6ada2af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugins/http/guest-js/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export interface ClientOptions {
102102
*/
103103
export async function fetch(
104104
input: URL | Request | string,
105-
init?: RequestInit & ClientOptions
105+
init?: RequestInit & ClientOptions,
106106
): Promise<Response> {
107107
const maxRedirections = init?.maxRedirections;
108108
const connectTimeout = init?.connectTimeout;
@@ -150,7 +150,7 @@ export async function fetch(
150150
// we need to ensure we have all header values as strings
151151
// eslint-disable-next-line
152152
typeof val === "string" ? val : (val as any).toString(),
153-
]
153+
],
154154
);
155155

156156
const rid = await invoke<number>("plugin:http|fetch", {
@@ -193,7 +193,7 @@ export async function fetch(
193193
"plugin:http|fetch_read_body",
194194
{
195195
rid: responseRid,
196-
}
196+
},
197197
);
198198

199199
const res = new Response(
@@ -206,7 +206,7 @@ export async function fetch(
206206
headers: responseHeaders,
207207
status,
208208
statusText,
209-
}
209+
},
210210
);
211211

212212
// url is read only but seems like we can do this

0 commit comments

Comments
 (0)