Skip to content

Commit

Permalink
printing diff on black failure
Browse files Browse the repository at this point in the history
  • Loading branch information
riesentoaster committed Nov 7, 2024
1 parent f6f105f commit 3bd914b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fmt_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi
if command -v black > /dev/null; then
echo "[*] Formatting python files"
if [ "$1" = "check" ]; then
black --check "$LIBAFL_DIR" || exit 1
black --check --diff "$LIBAFL_DIR" || exit 1
else
black "$LIBAFL_DIR" || exit 1
fi
Expand Down

0 comments on commit 3bd914b

Please sign in to comment.