Skip to content

Commit

Permalink
refactor: update husky checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Jan 9, 2025
1 parent eafb8b1 commit 98aa0f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .husky/post-checkout
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh

# Discard all changes and untracked files
git reset --hard HEAD && git clean -fd
#git reset --hard HEAD && git clean -fd

# Run the clean script
npm run clean || exit 1
#npm run clean || exit 1

echo "\033[1;33mPlease make sure to run 'npm run setup' to configure all necessary settings.\033[0m"
#echo "\033[1;33mPlease make sure to run 'npm run setup' to configure all necessary settings.\033[0m"

0 comments on commit 98aa0f2

Please sign in to comment.