Skip to content

Commit

Permalink
use short git status
Browse files Browse the repository at this point in the history
  • Loading branch information
gspetro-NOAA committed Nov 4, 2024
1 parent 2b08b87 commit cff4829
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/scripts/check_tech_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ sphinx-apidoc -fM -o ./ush ../../ush
sphinx-apidoc -fM -o ./tests/WE2E ../../tests/WE2E

# Check for mismatch between what comes out of this action and what is in the PR.
status=`git status`
status=`git status -s`

if [ -n status ]; then
echo "${status}\n"
echo "${status}"
echo ""
echo "Please update your Technical Documentation RST files."
exit 1
else
Expand Down

0 comments on commit cff4829

Please sign in to comment.