Skip to content

Commit

Permalink
ci: Remove redundant || exit
Browse files Browse the repository at this point in the history
We already use `set -ex`, adding an explicit exit on command fail is
redundant.
  • Loading branch information
tcharding committed Dec 31, 2022
1 parent ea43930 commit aadce3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitcoin/contrib/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ cargo run --example taproot-psbt --features=rand-std,bitcoinconsensus

# Build the docs if told to (this only works with the nightly toolchain)
if [ "$DO_DOCS" = true ]; then
RUSTDOCFLAGS="--cfg docsrs" cargo +nightly rustdoc --all-features -- -D rustdoc::broken-intra-doc-links -D warnings || exit 1
RUSTDOCFLAGS="--cfg docsrs" cargo +nightly rustdoc --all-features -- -D rustdoc::broken-intra-doc-links -D warnings
fi

# Fuzz if told to
Expand Down

0 comments on commit aadce3e

Please sign in to comment.