From a5e05c9241c8c6e7f0a8ce54fecdbb7df3c1ecec Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 13 Sep 2023 06:21:16 +0200 Subject: Remove unused function --- src/index.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/index.ts b/src/index.ts index 418af5c..f423b01 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,8 +1,6 @@ import path from "node:path"; import fs, { Stats } from "node:fs"; import fsp from "node:fs/promises"; -import util from "node:util"; - import { withHtmlLiveReload } from "bun-html-live-reload"; import readConfig from "./config"; @@ -13,10 +11,6 @@ const publicDir = path.resolve(base, "public") + path.sep; const config = readConfig(base); const defaultHeaders = config.extra.headers; -function getFilename(name: string): string { - return path.join(publicDir, `${name}`); -} - type File = { filename: string; headers?: Record; -- cgit 1.4.1