fix: Fixed memory leaks in find_binary.

This commit is contained in:
2026-06-12 09:33:32 -04:00
parent a1e945a630
commit 7c7ddf46f6
5 changed files with 58 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ test_scan_path_finds_gitignored_env_files :: proc(t: ^testing.T) {
defer os.remove_all(base)
git_init := os.Process_Desc{
command = []string{"git", "init"},
command = []string{"git", "-c", "advice.defaultBranchName=false", "init"},
working_dir = base,
stdout = os.stderr,
stderr = os.stderr,