MustResolveDdevBinary returns the test DDEV binary or aborts the current test process.
()
| 48 | |
| 49 | // MustResolveDdevBinary returns the test DDEV binary or aborts the current test process. |
| 50 | func MustResolveDdevBinary() string { |
| 51 | bin, err := ResolveDdevBinary() |
| 52 | if err != nil { |
| 53 | log.Fatalf("MustResolveDdevBinary: %v", err) |
| 54 | } |
| 55 | return bin |
| 56 | } |
| 57 | |
| 58 | func findRepoRoot() (string, error) { |
| 59 | dir, err := os.Getwd() |