From f8bb59f0995f1ad5ec586b08852ca5b3a467a1c8 Mon Sep 17 00:00:00 2001 From: Karl Cardenas Date: Wed, 26 Jun 2024 12:34:27 -0700 Subject: [PATCH] ci: more debug --- Makefile | 4 ++-- scripts/check_rule.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2a5955d..c68f60e 100644 --- a/Makefile +++ b/Makefile @@ -15,12 +15,12 @@ init: ## Initialize the project required_files: ## Check if required files are present @echo "Checking if required files are present..." - ./scripts/missing_tests.sh packages/ + ./scripts/missing_tests.sh packages tests: ## Run tests @echo "Running tests..." - ./scripts/check_rule.sh packages/ + ./scripts/check_rule.sh packages ##@ Publish diff --git a/scripts/check_rule.sh b/scripts/check_rule.sh index 85e0fb7..003c22a 100755 --- a/scripts/check_rule.sh +++ b/scripts/check_rule.sh @@ -46,7 +46,7 @@ check_pass_conditions() { echo "Error: $base_directory does not contain a file named .vale.ini" exit 1 fi - + echo "vale --config=$config_file --no-exit --output=line $pass_md_file" 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"