Skip to content

Commit

Permalink
troubleshooting status
Browse files Browse the repository at this point in the history
  • Loading branch information
gspetro-NOAA committed Nov 4, 2024
1 parent 602c9e9 commit 1567d4b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/scripts/check_tech_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1567d4b

Please sign in to comment.