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 647ac96 commit 07ad8aeCopy full SHA for 07ad8ae
test/make.sh
@@ -99,19 +99,19 @@ function generate_docs() {
99
100
function check_generate_docs() {
101
TMPDIR=$(mktemp -d)
102
- git worktree add --detach "$TMPDIR"
+ git worktree add --detach "$TMPDIR" >/dev/null
103
cd "$TMPDIR" || exit 1
104
105
- make generate_docs
106
- git diff --stat --exit-code
+ make generate_docs >/dev/null
+ git diff --stat --exit-code >/dev/null
107
rc=$?
108
- cd - || exit 1
+ cd - >/dev/null || exit 1
109
110
if [[ $rc -ne 0 ]]; then
111
echo '"make generate_docs" creates a diff, run "make generate_docs" and commit the results'
112
fi
113
rm -rf "$TMPDIR"
114
- git worktree prune
+ git worktree prune >/dev/null
115
116
exit $rc
117
}
0 commit comments