-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
What version of Turborepo are you using?
trunk
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Describe the Bug
A panic happens when executing the command ./turbow.sh run test --dry
on trunk
❯ ./turbow.sh run test --dry
Packages in Scope
Name Path
@turbo/codemod packages/turbo-codemod
benchmark benchmark
cli cli
create-turbo packages/create-turbo
docs docs
Tasks to Run
cli#test
Task = test
Package = cli
Hash = 45d563cd2aa4e615
Directory = cli
Command = go test -race ./internal/...
Outputs =
Log File = cli/.turbo/turbo-test.log
Dependencies =
Dependendents =
create-turbo#build
Task = build
Package = create-turbo
Hash = 4f998d45d3a15b19
Directory = packages/create-turbo
Command = tsup src/index.ts --format cjs
Outputs = .next/*/
Log File = packages/create-turbo/.turbo/turbo-build.log
Dependencies =
Dependendents = create-turbo#test
create-turbo#test
panic: runtime error: slice bounds out of range [1:0]
Expected Behavior
I would expect the command wouldn't cause a panic
To Reproduce
Check out the source code with branch main
Run pnpm install
Run pnpm run build
Run ./turbow.sh run test --dry