Skip to content

Commit 760f23e

Browse files
committed
fix: example script not failing correctly
1 parent 747341e commit 760f23e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/run_examples.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ run_test_with_retries() {
6464
echo "Running $file (attempt $attempt/$RETRY_COUNT)"
6565

6666
# Run the script and capture both exit status and error output
67-
local current_output=$(python3 "$file" 2>&1)
68-
local exit_code=$?
67+
current_output=$(python3 "$file" 2>&1)
68+
exit_code=$?
6969

7070
if [ $exit_code -eq 0 ]; then
7171
echo "Success"

0 commit comments

Comments
 (0)