Skip to content

Commit

Permalink
Fix up format check script
Browse files Browse the repository at this point in the history
  • Loading branch information
frankier committed Jul 25, 2024
1 parent e2f6f66 commit 9842025
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/format_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ if [[ $(git diff) ]]; then
exit 1
fi

./format.sh
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
julia $SCRIPT_DIR/format.jl
if [[ $(git diff) ]]; then
echo "Julia format found differences:"
git diff
Expand Down

0 comments on commit 9842025

Please sign in to comment.