diff --git a/services/dictionaries.ts b/services/dictionaries.ts index 1a56d85..a256f46 100644 --- a/services/dictionaries.ts +++ b/services/dictionaries.ts @@ -27,7 +27,7 @@ export const readDictionary = async (name: string): Promise => { if (!(await file.exists())) { throw new Error(`Dictionary "${name === "" || name === undefined ? "undefined" : name}" does not exist`) } - return Bun.file(path).text() + return await file.text() } export const listDictionaries = async (): Promise => {