Skip to content

Commit

Permalink
Pushing to view the list formatting 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rd4dev committed Sep 5, 2024
1 parent be3e974 commit 5d4b9ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ function checkForBinaries() {

if [[ -n "${binaryFiles}" && "${binaryFilesCount}" -gt 0 ]]; then
printf "\nPlease remove the following binary file(s):\n\n"
printf "\033[33m%b\033[0m\n" "$(echo -e "$binaryFiles")"
printf "BINARY FILES CHECK FAILED\n"
printf "\033[33m%b\033[0m" "$binaryFiles"
printf "\nBINARY FILES CHECK FAILED\n"
exit 1
else
printf "\nBINARY FILES CHECK PASSED\n"
fi
}

Expand Down

0 comments on commit 5d4b9ce

Please sign in to comment.