diff --git a/action.yml b/action.yml index ab25280..feb99ac 100644 --- a/action.yml +++ b/action.yml @@ -285,7 +285,7 @@ runs: export CMD ./custom_cmd.sh - if [ -s "$PRINTS" ] && tail -n 1 "$PRINTS" | grep -q '--- PRINTS of external test run command (before pytest) ---'; then + if [ -s "$PRINTS" ] && tail -n 1 "$PRINTS" | grep -q '--- PRINTS of test run command (before pytest) ---'; then sed -i '$d' "$PRINTS" fi