Skip to content

Commit

Permalink
ci: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Jun 26, 2024
1 parent 7a4a618 commit 3c48abc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/check_rule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ check_pass_conditions() {
RESULT=$(vale --config="$config_file" --no-exit --output=line "$pass_md_file" | wc -l)
debug=$(vale --config="$config_file" --output=line "$pass_md_file")
echo "Debug: $debug"
cat $pass_md_file
cat $config_file

if [ "$RESULT" -ne 0 ]; then
echo "$package_name/$rule_name fail condition test - ❌"
Expand Down Expand Up @@ -108,6 +110,7 @@ traverse_and_check() {
for package_dir in "$base_directory"/*; do
if [ -d "$package_dir/tests" ]; then
echo "Checking Vale rules for package: $package_dir"


# Walk the tests directory for sub-directories
echo ""
Expand Down

0 comments on commit 3c48abc

Please sign in to comment.