chore(scripts): fix script

This commit is contained in:
Stavros kois
2023-12-31 18:22:29 +02:00
parent fa335a9f44
commit 730a2488a4
2 changed files with 2 additions and 2 deletions

View File

@@ -241,7 +241,7 @@ jobs:
filename=$(basename "${file}")
echo "Found doc file: ${file}"
test_title=$(head -n 1 "${file}" | grep -v "\-\-\-" | sed 's/# //')
if [ -n ${test_title} ]; then
if [ -n "${test_title}" ]; then
echo "Doc title should use front matter and not # for title, for example"
echo "---"
echo "title: ${test_title}"