Skip to content

Commit

Permalink
Prevent bash error if CI env var is unset (#2524)
Browse files Browse the repository at this point in the history
* Prevent bash error if CI env var is unset
  • Loading branch information
sveitser authored Feb 3, 2025
1 parent 7d98a21 commit 102ca7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/demo-native
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ cleanup(){
# Don't run cleanup if running in the CI. We may be running process-compose
# with --detach and the cleanup will remove the storage path while the
# services are still running.
CI=${CI:-false}
if [ "$CI" = "true" ]; then
echo "Running in CI, not cleaning up $ESPRESSO_BASE_STORAGE_PATH"
else
Expand Down

0 comments on commit 102ca7e

Please sign in to comment.