feat: git hook (#95)
This commit is contained in:
3
src/utils/fs.ts
Normal file
3
src/utils/fs.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import fs from 'fs/promises';
|
||||
|
||||
export const fileExists = (filePath: string) => fs.access(filePath).then(() => true, () => false);
|
||||
Reference in New Issue
Block a user