Skip to content

Commit 90424be

Browse files
author
Test
committed
fix(training): remove set -e and add return 0 to prevent crashes
1 parent f100fb2 commit 90424be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

training-sandbox/training_loop_v2.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Multi-layer validation: Syntax → Review → Tests → Analysis
44
# Usage: ./training_loop_v2.sh [NUM_ISSUES] [--dry-run]
55

6-
set -e
6+
# Note: removed set -e to allow error handling in functions
77

88
GPTCODE_BIN="/Users/jadercorrea/workspace/gptcode/cli/gptcode"
99
SANDBOX_DIR="/Users/jadercorrea/workspace/gptcode/cli/training-sandbox"
@@ -56,6 +56,7 @@ RESET
5656
echo " ⚠️ jq update failed, skipping"
5757
rm -f "$temp_file"
5858
fi
59+
return 0
5960
}
6061

6162
# Set start time

0 commit comments

Comments
 (0)