fix: allow pi-test.sh to run from any directory (#905)

This commit is contained in:
Michael Renner 2026-01-22 18:24:05 +01:00 committed by GitHub
parent b35950c5bd
commit 3dd95094f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
npx tsx packages/coding-agent/src/cli.ts "$@"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
npx tsx "$SCRIPT_DIR/packages/coding-agent/src/cli.ts" "$@"