diff --git a/.github/scripts/frontmatter.sh b/.github/scripts/frontmatter.sh index 25240281d03..2ed51c14fba 100755 --- a/.github/scripts/frontmatter.sh +++ b/.github/scripts/frontmatter.sh @@ -22,13 +22,6 @@ is_true() { return 1 } -# if file is empty -if [ -z "$(cat "$file_path")" ]; then - echo "file is empty" - echo -e "---\n" >"$file_path" - echo -e "---\n" >>"$file_path" -fi - echo "Checking front matter" if ! grep -q "^---$" "$file_path"; then echo "Front matter (start) not found, adding it"