From 3982024c7b6378cec3605ae15510d126527e98cd Mon Sep 17 00:00:00 2001 From: Karl Cardenas Date: Wed, 26 Jun 2024 10:21:35 -0700 Subject: [PATCH] ci: add debug --- scripts/check_rule.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/check_rule.sh b/scripts/check_rule.sh index bc3bc21..7249dd4 100755 --- a/scripts/check_rule.sh +++ b/scripts/check_rule.sh @@ -89,6 +89,8 @@ check_fail_conditions() { if [ "$RESULT" -eq 0 ]; then echo "$package_name/$rule_name fail condition test - ❌" + log=$(vale --config="$config_file" --output=line "$fail_md_file") + echo "Debug: $log" failed_tests=$((failed_tests + 1)) return 1 fi