Skip to content

Commit

Permalink
fix: Missing pipefail
Browse files Browse the repository at this point in the history
  • Loading branch information
sizmailov committed Aug 31, 2023
1 parent 5cd811c commit 85bad07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/check-demo-stubs-generation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ format_stubs() {

check_stubs() {
git add --all "${STUBS_DIR}" ;
git diff --exit-code HEAD -- "${STUBS_DIR}" | tee "${STUBS_DIR}.patch"
(
set -o pipefail ;
git diff --exit-code HEAD -- "${STUBS_DIR}" | tee "${STUBS_DIR}.patch" ;
)
}

main () {
Expand Down

0 comments on commit 85bad07

Please sign in to comment.