Skip to content

Commit

Permalink
Update the code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
irbull committed Sep 6, 2024
1 parent 6098b44 commit 08edf51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ext/http/00_serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,9 @@ function serve(arg1, arg2) {
handler = options.handler;
}
if (typeof handler !== "function") {
throw new TypeError(`Cannot serve HTTP requests: handler must be a function, received ${typeof handler}`);
throw new TypeError(
`Cannot serve HTTP requests: handler must be a function, received ${typeof handler}`,
);
}
if (options === undefined) {
options = { __proto__: null };
Expand Down

0 comments on commit 08edf51

Please sign in to comment.