Skip to content

Commit

Permalink
pre-commit update - skip .bun folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mirooon committed Mar 7, 2025
1 parent 6fca8f7 commit 32bfaf5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ processGitDiff() {
continue
fi

#skip .bun files (bins, cache, versions etc.)
if [[ $FILE == ".bun/"* ]]; then
continue
fi

# Check for secrets from .env file
RESULT_SECRET=$(doesFileContainDotEnvSecret "$FILE")
if [[ -n $RESULT_SECRET ]]; then
Expand Down

0 comments on commit 32bfaf5

Please sign in to comment.