mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
refactor: remove cleanup function and associated trap from index.sh
This commit is contained in:
@@ -10,16 +10,6 @@ echo "Terraform Provider E2E Tests"
|
||||
echo "=========================================="
|
||||
echo ""
|
||||
|
||||
# Cleanup function
|
||||
cleanup() {
|
||||
echo ""
|
||||
echo "=== Running cleanup ==="
|
||||
"$SCRIPT_DIR/cleanup.sh" || true
|
||||
npm run down
|
||||
}
|
||||
|
||||
# Trap to ensure cleanup runs on exit
|
||||
trap cleanup EXIT
|
||||
|
||||
# Step 2: Start OneUptime services
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user