From dbe89f37c81e06efaa411ee4a62637c32d800a44 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Tue, 26 May 2026 18:51:02 +0100 Subject: [PATCH] fix: remove duplicate else block in workflow-prepare.sh --- workflow-prepare.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/workflow-prepare.sh b/workflow-prepare.sh index 13a303a..bd01728 100755 --- a/workflow-prepare.sh +++ b/workflow-prepare.sh @@ -62,13 +62,10 @@ DOWNLOAD_EXIT=$? set -e if [ $DOWNLOAD_EXIT -eq 0 ]; then - # Export model directory so tests can find models without network access - if [ -n "$GITHUB_ENV" ]; then - echo "CLAUDE_MNEMONIC_MODEL_DIR=$GITHUB_WORKSPACE/testdata/models" >> "$GITHUB_ENV" - fi -else - echo "Warning: Model download failed — tests will try to download models at runtime" -fi + # Export model directory so tests can find models without network access + if [ -n "$GITHUB_ENV" ]; then + echo "CLAUDE_MNEMONIC_MODEL_DIR=$GITHUB_WORKSPACE/testdata/models" >>"$GITHUB_ENV" + fi else echo "Warning: Model download failed — tests will try to download models at runtime" fi