Skip to content

Commit

Permalink
iox-#1930 Add commit hook for invalid characters
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Feb 28, 2023
1 parent b23026f commit ed203ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/git-hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,10 @@ if ! tools/scripts/check_test_ids.sh; then
exit 1
fi

## check for invalid characters
if ! tools/scripts/check_invalid_characters.sh; then
echo "Error checking for invalid characters"
exit 1
fi

cd "${current_dir}" || exit

0 comments on commit ed203ac

Please sign in to comment.