update file format

remove newline at end of file
This commit is contained in:
DefectingCat
2023-05-19 09:27:38 +08:00
parent 120d599a83
commit 0c8a3ce0da
4 changed files with 4 additions and 4 deletions

View File

@ -77,4 +77,4 @@ export const allPostsPath = async () => {
export const readSinglePost = async (slug: string) => {
const filename = path.join(`${dataPath}/${slug}.mdx`);
return await fs.readFile(filename, { encoding: 'utf-8' });
};
};