formatting

This commit is contained in:
Hassan El Mghari
2024-01-26 09:53:16 -08:00
parent 578572b1d9
commit f33bfeed60
14 changed files with 836 additions and 3251 deletions

View File

@@ -1,4 +1,8 @@
import fs from 'fs/promises';
// lstat is used because this is also used to check if a symlink file exists
export const fileExists = (filePath: string) => fs.lstat(filePath).then(() => true, () => false);
export const fileExists = (filePath: string) =>
fs.lstat(filePath).then(
() => true,
() => false
);