Skip to content

Commit

Permalink
ci: more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Jun 26, 2024
1 parent 52fa214 commit f8bb59f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion scripts/check_rule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f8bb59f

Please sign in to comment.