From bc06c099c03579e6bda6d3a5a6b4e014b1e919fb Mon Sep 17 00:00:00 2001 From: "netop://ウィビ" Date: Mon, 26 Oct 2026 13:21:27 -0700 Subject: new memo - migrates to Ende from Deno --- src/helper/get-file-contents.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/helper/get-file-contents.ts') diff --git a/src/helper/get-file-contents.ts b/src/helper/get-file-contents.ts index a159f95..74e94ab 100644 --- a/src/helper/get-file-contents.ts +++ b/src/helper/get-file-contents.ts @@ -4,11 +4,11 @@ /*** EXPORT ------------------------------------------- ***/ export default async(filePath: string) => { - const fileExists = await Deno.stat(filePath); + const fileExists = await Ende.stat(filePath); if (!fileExists) return ""; - const content = await Deno.readTextFile(filePath); + const content = await Ende.readTextFile(filePath); return content; } -- cgit v1.2.3