mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 06:04:51 +00:00
fix: allow pi-test.sh to run from any directory (#905)
This commit is contained in:
parent
b35950c5bd
commit
3dd95094f5
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
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" "$@"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue