Skip to content

Commit

Permalink
FDP-2551: review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Sander Verbruggen <[email protected]>
  • Loading branch information
sanderv committed Sep 26, 2024
1 parent bc1004c commit 972ac46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/pre-commit
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/bin/bash -l
#!/bin/bash
echo "*********************************************************"
echo "Running git pre-commit hook. Running Spotless Apply... "
echo "*********************************************************"

[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"

# Gather the staged files - to make sure changes are saved only for these files.
stagedFiles=$(git diff --staged --name-only)

Expand Down

0 comments on commit 972ac46

Please sign in to comment.