feat: git hook (#95)

This commit is contained in:
hiroki osame
2023-02-21 08:08:44 -05:00
committed by GitHub
parent 0d3f35c135
commit 0b80a0031e
7 changed files with 191 additions and 32 deletions

3
src/utils/fs.ts Normal file
View File

@@ -0,0 +1,3 @@
import fs from 'fs/promises';
export const fileExists = (filePath: string) => fs.access(filePath).then(() => true, () => false);