fix(ci): pass mod argument to revert-patches.sh in test-patches.sh

This commit is contained in:
Meliox 2026-08-22 20:35:59 +02:00
parent 8a9b7568a7
commit d284d5dcba

View File

@ -121,7 +121,7 @@ test_one_mod() {
if [[ $ok -eq 0 ]]; then if [[ $ok -eq 0 ]]; then
info "Reverting patches for '$mod'..." info "Reverting patches for '$mod'..."
local revert_log local revert_log
revert_log="$("$REVERT" 2>&1)" revert_log="$("$REVERT" "$mod" 2>&1)"
echo "$revert_log" echo "$revert_log"
if echo "$revert_log" | grep -qE "could not be reverted cleanly|reported an error"; then if echo "$revert_log" | grep -qE "could not be reverted cleanly|reported an error"; then
warn "revert-patches.sh reported an unclean revert for mod '$mod'" warn "revert-patches.sh reported an unclean revert for mod '$mod'"