Skip to content

Commit 322fc0d

Browse files
committed
build(axe): Remove machine-specific local AXe path
Stop defaulting AXE_LOCAL_DIR to a user-specific filesystem path.\nLocal AXe bundling now requires explicit AXE_LOCAL_DIR when\nAXE_USE_LOCAL=1, preventing accidental machine-coupled behavior.\n\nCo-Authored-By: Claude <noreply@anthropic.com>
1 parent d27ef5d commit 322fc0d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/bundle-axe.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -e
88
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
99
PROJECT_ROOT="$(dirname "$SCRIPT_DIR")"
1010
BUNDLED_DIR="$PROJECT_ROOT/bundled"
11-
AXE_LOCAL_DIR="${AXE_LOCAL_DIR:-/Users/cameroncooke/Developer/AXe}"
11+
AXE_LOCAL_DIR="${AXE_LOCAL_DIR:-}"
1212
AXE_TEMP_DIR="/tmp/axe-download-$$"
1313

1414
echo "🔨 Preparing AXe artifacts for bundling..."
@@ -87,7 +87,8 @@ if [ "$USE_LOCAL_AXE" = true ] && [ -d "$AXE_LOCAL_DIR" ] && [ -f "$AXE_LOCAL_DI
8787
done
8888
else
8989
if [ "$USE_LOCAL_AXE" = true ]; then
90-
echo "❌ AXE_USE_LOCAL=1 was set, but AXE_LOCAL_DIR is missing or invalid: $AXE_LOCAL_DIR"
90+
echo "❌ AXE_USE_LOCAL=1 requires AXE_LOCAL_DIR to point to a valid AXe checkout"
91+
echo " Received AXE_LOCAL_DIR: ${AXE_LOCAL_DIR:-<unset>}"
9192
exit 1
9293
fi
9394

0 commit comments

Comments
 (0)