From 1567d4b34f128183f616a0409e3fe6da88596566 Mon Sep 17 00:00:00 2001 From: gspetro-NOAA Date: Mon, 4 Nov 2024 16:33:26 -0500 Subject: [PATCH] troubleshooting status --- .github/scripts/check_tech_doc.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/scripts/check_tech_doc.sh b/.github/scripts/check_tech_doc.sh index 41e6cb8da..82e06e491 100755 --- a/.github/scripts/check_tech_doc.sh +++ b/.github/scripts/check_tech_doc.sh @@ -20,12 +20,14 @@ sphinx-apidoc -fM -o ./tests/WE2E ../../tests/WE2E status=`git status -s` echo "...${status}..." -if [ -n ${status} ]; then - echo "${status}" +if [ -n "${status}" ]; then + echo ${status} + echo "Status size is: ${#status}." echo "" echo "Please update your Technical Documentation RST files." exit 1 else + echo "Status size is: ${#status}." echo "Technical documentation is up-to-date." exit 0 fi