mirror of
https://github.com/codeflash-ai/codeflash-agent.git
synced 2026-05-04 18:25:19 +00:00
Add set -e to vendored session-start-env.sh
Match upstream fix: propagate write failures as non-zero exit.
This commit is contained in:
parent
42c8310494
commit
9456cf48fa
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# Replaces the Node.js session-lifecycle-hook.mjs for the SessionStart path
|
||||
# to avoid ~100ms V8 startup overhead.
|
||||
|
||||
set -uo pipefail
|
||||
set -euo pipefail
|
||||
|
||||
INPUT=$(cat)
|
||||
SESSION_ID=$(echo "$INPUT" | jq -r '.session_id // empty' 2>/dev/null)
|
||||
|
|
|
|||
Loading…
Reference in a new issue