aboutsummaryrefslogtreecommitdiff
path: root/src/helper/get-file-contents.ts
diff options
context:
space:
mode:
authornetop://ウィビ <paul@webb.page>2026-10-26 13:21:27 -0700
committernetop://ウィビ <paul@webb.page>2026-10-26 13:21:27 -0700
commitbc06c099c03579e6bda6d3a5a6b4e014b1e919fb (patch)
tree20c874b9455fd6f6ad323bd4557ebb947bc85e4f /src/helper/get-file-contents.ts
parent02e2bc0839c1199ba090707f2067104821aed41b (diff)
downloadblog-bc06c099c03579e6bda6d3a5a6b4e014b1e919fb.tar.gz
blog-bc06c099c03579e6bda6d3a5a6b4e014b1e919fb.zip
new memo
- migrates to Ende from Deno
Diffstat (limited to 'src/helper/get-file-contents.ts')
-rw-r--r--src/helper/get-file-contents.ts4
1 files changed, 2 insertions, 2 deletions
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;
}