From 14e2d5df63278667e0c6ac09ed85660b05608c0b Mon Sep 17 00:00:00 2001 From: eliassjogreen Date: Thu, 27 Jan 2022 00:02:38 +0100 Subject: [PATCH] fix: makefile and fmt --- Makefile | 4 +--- deps.ts | 6 +++++- examples/server.ts | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index a388521..da53a85 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ build: cargo build example: - DEV=true deno run \ + PLUGIN_URL=target/debug/ deno run \ -A \ --unstable \ --no-check \ @@ -16,5 +16,3 @@ fmt: lint: cargo clippy deno lint --ignore=target/ - - diff --git a/deps.ts b/deps.ts index 7865ff4..f15c124 100644 --- a/deps.ts +++ b/deps.ts @@ -1 +1,5 @@ -export { CachePolicy, prepare, download } from "https://deno.land/x/plug@0.5.1/plug.ts"; +export { + CachePolicy, + download, + prepare, +} from "https://deno.land/x/plug@0.5.1/plug.ts"; diff --git a/examples/server.ts b/examples/server.ts index 4f4ea63..c63d638 100644 --- a/examples/server.ts +++ b/examples/server.ts @@ -1,7 +1,7 @@ import { serve } from "https://deno.land/std@0.120.0/http/mod.ts"; import { Webview } from "../mod.ts"; -const server = serve(() => +const _server = serve(() => new Response("

Hello World

", { headers: new Headers({ "content-type": "text/html",