(key string, err error)
| 364 | } |
| 365 | |
| 366 | func taskError(key string, err error) error { |
| 367 | if err == nil { |
| 368 | return nil |
| 369 | } |
| 370 | return redact.Errorf("setup: task %s: %w", key, err) |
| 371 | } |
| 372 | |
| 373 | // devboxExecutable returns the path to the Devbox launcher script or the |
| 374 | // current binary if the launcher is unavailable. |
no test coverage detected