mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
fix: allow pi-test.sh to run from any directory (#905)
This commit is contained in:
committed by
GitHub
Unverified
parent
b35950c5bd
commit
3dd95094f5
+2
-1
@@ -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" "$@"
|
||||
|
||||
Reference in New Issue
Block a user