From 5babd72751c2ffd4c1980de61737466dbbea299a Mon Sep 17 00:00:00 2001 From: Dean Srebnik <49134864+load1n9@users.noreply.github.com> Date: Wed, 18 Sep 2024 13:42:54 -0400 Subject: [PATCH] chore: fmt --- README.md | 8 ++++---- deno.json | 1 - examples/serve.ts | 8 ++++---- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 8bbdc32..6e1d168 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,10 @@ await Deno.serve( import { router } from "jsr:@denosaurs/rutt"; export default { - fetch: router({ - "/hello/:name": (_req, _, { name }) => - new Response(`Hello ${name}`, { status: 200 }), - }), + fetch: router({ + "/hello/:name": (_req, _, { name }) => + new Response(`Hello ${name}`, { status: 200 }), + }), }; ``` diff --git a/deno.json b/deno.json index b0f8e35..7862f7b 100644 --- a/deno.json +++ b/deno.json @@ -6,5 +6,4 @@ "jsr:@denosaurs/rutt": "./mod.ts" }, "exports": "./mod.ts" - } diff --git a/examples/serve.ts b/examples/serve.ts index 5b77b2c..de58e79 100644 --- a/examples/serve.ts +++ b/examples/serve.ts @@ -1,8 +1,8 @@ import { router } from "jsr:@denosaurs/rutt"; export default { - fetch: router({ - "/hello/:name": (_req, _, { name }) => - new Response(`Hello ${name}`, { status: 200 }), - }), + fetch: router({ + "/hello/:name": (_req, _, { name }) => + new Response(`Hello ${name}`, { status: 200 }), + }), };