We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d2a32c commit c575780Copy full SHA for c575780
scripts/lint.sh
@@ -29,7 +29,7 @@ make build ALLSPHINXOPTS="$opts"
29
sphinx-intl update -d locale -p build/gettext -l ${PYDOC_LANGUAGE} > /dev/null
30
31
cd locale/${PYDOC_LANGUAGE}/LC_MESSAGES
32
-sphinx-lint 2> >(tee -a $(realpath "$rootdir/logs/sphinxlint.txt") >&2)
+sphinx-lint 2> $(realpath "$rootdir/logs/sphinxlint.txt")
33
34
# Undo changes to undo literal blocks disabling
35
git checkout .
@@ -41,6 +41,7 @@ if [ ! -s logs/sphinxlint.txt ]; then
41
# OK, it is empty. Remove it.
42
rm logs/sphinxlint.txt
43
else
44
- # has contents, exit with error status (to trigger notification in CI)
+ # print contents and exit with error status (to trigger notification in CI)
45
+ cat logs/sphinxlint.txt
46
exit 1
47
fi
0 commit comments