Split services into core and request
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { readFile } from "node:fs/promises";
|
||||
import nunjucks from "nunjucks";
|
||||
|
||||
// FIXME: Handle the error here
|
||||
const loadFile = async (path: string): Promise<string> => {
|
||||
@@ -9,8 +8,4 @@ const loadFile = async (path: string): Promise<string> => {
|
||||
return data;
|
||||
};
|
||||
|
||||
|
||||
|
||||
export {
|
||||
loadFile,
|
||||
}
|
||||
export { loadFile };
|
||||
|
||||
Reference in New Issue
Block a user