Skip to content

Commit

Permalink
Try to fix husky checkout (#438)
Browse files Browse the repository at this point in the history
* Try to fix husky checkout

* Also delete tsbuildinfo

* Fix exit code
  • Loading branch information
zachkirsch authored Jul 26, 2022
1 parent 47043eb commit 1851bdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .husky/post-checkout
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

find packages -name 'lib' -exec '/bin/rm -r {} 2> /dev/null' \;
find packages -name 'lib' -exec /bin/rm -r {} \; 2> /dev/null || exit 0
find packages -name tsconfig.tsbuildinfo -exec /bin/rm {} \;

0 comments on commit 1851bdf

Please sign in to comment.