Skip to content

Commit

Permalink
[ci] replace uses of backticks in test.sh with $() (#4519)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Aug 14, 2021
1 parent 926526c commit a2e5f49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ if [[ $TASK == "check-docs" ]] || [[ $TASK == "check-links" ]]; then
pip install --user -r requirements.txt
# check reStructuredText formatting
cd $BUILD_DIRECTORY/python-package
rstcheck --report warning `find . -type f -name "*.rst"` || exit -1
rstcheck --report warning $(find . -type f -name "*.rst") || exit -1
cd $BUILD_DIRECTORY/docs
rstcheck --report warning --ignore-directives=autoclass,autofunction,doxygenfile `find . -type f -name "*.rst"` || exit -1
rstcheck --report warning --ignore-directives=autoclass,autofunction,doxygenfile $(find . -type f -name "*.rst") || exit -1
# build docs
make html || exit -1
if [[ $TASK == "check-links" ]]; then
Expand Down

0 comments on commit a2e5f49

Please sign in to comment.