aboutsummaryrefslogtreecommitdiff
path: root/src/helper/get-file-contents.ts
diff options
context:
space:
mode:
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;
}