Skip to content

Commit

Permalink
fix format_exercises to emit error on non-formatted files
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNeshi committed Dec 1, 2024
1 parent 4fce42a commit 5aae4fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/format_exercises.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ for exercise_dir in $exercises; do
# move the solution file into the package
cp "$solution_file" "$tmp_file"

scarb fmt
scarb fmt --check

# move the solution file back
cp "$tmp_file" "$solution_file"
Expand Down

0 comments on commit 5aae4fe

Please sign in to comment.