aboutsummaryrefslogtreecommitdiff
path: root/src/helper/get-documents.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/get-documents.ts')
-rw-r--r--src/helper/get-documents.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helper/get-documents.ts b/src/helper/get-documents.ts
index ca9ce93..1639d8d 100644
--- a/src/helper/get-documents.ts
+++ b/src/helper/get-documents.ts
@@ -7,9 +7,9 @@ export default async(directory: string) => {
const posts: string[] = [];
try {
- const files: Deno.DirEntry[] = [];
+ const files: Ende.DirEntry[] = [];
- for await (const dirEntry of Deno.readDir(directory)) {
+ for await (const dirEntry of Ende.readDir(directory)) {
if (dirEntry.isFile)
files.push(dirEntry);
}
@@ -29,7 +29,7 @@ export default async(directory: string) => {
} catch(error) {
console.error(`Error reading directory for posts: ${String(error)}`);
} finally {
- // deno-lint-ignore no-unsafe-finally
+ // ende-lint-ignore no-unsafe-finally
return posts;
}
}