Skip to content

Commit

Permalink
Issue #49: Added explanation of explicit exit in .do/build-*.sh scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambient-Impact committed May 29, 2024
1 parent b0a5cae commit f6e930c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .do/build-background-tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@
.do/build/composer.sh && \
.do/build/secure-filesystem.sh

# Explicitly exit here using the most recent exit code from the above. Note the
# need to chain them all using the && operator to ensure an error in one stops
# execution immediately.
exit $?
3 changes: 3 additions & 0 deletions .do/build-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@
.do/build/yarn.sh && \
.do/build/secure-filesystem.sh

# Explicitly exit here using the most recent exit code from the above. Note the
# need to chain them all using the && operator to ensure an error in one stops
# execution immediately.
exit $?

0 comments on commit f6e930c

Please sign in to comment.