Skip to content

Commit

Permalink
remove build folder after build check
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Mistry committed Jan 18, 2022
1 parent d48dc62 commit 88cef5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ cd v2/src/components
npx tsc -p tsconfig.json

doesBuild=$?

rm -rf build/

cd ../..
if [ $doesBuild -eq 0 ]
then
Expand Down

0 comments on commit 88cef5e

Please sign in to comment.