Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az authored and benluelo committed Feb 1, 2024
1 parent 68bea4c commit 1c690fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/lib/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ export const generateRandomNumber = (min: number, max: number) =>
export async function getFileContent({ filepath }: { filepath: string }) {
const file = path.resolve(__dirname, filepath);
if (!fs.stat(file)) throw new Error(`File not found: ${file}`);
return fs.readFile(file, { encoding: "utf8" });
return fs.readFile(file, { encoding: "utf8" });
}

0 comments on commit 1c690fb

Please sign in to comment.