added unit testing

This commit is contained in:
2026-05-26 09:36:05 -05:00
parent 39c23595ce
commit 669565bb87
32 changed files with 5224 additions and 79 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ func writeRunLog() {
lines := []string{fmt.Sprintf("# Bootstrap run — %s", ts), ""}
lines = append(lines, issues...)
content := strings.Join(lines, "\n") + "\n"
if err := os.WriteFile(path, []byte(content), 0o644); err != nil {
if err := osWriteFile(path, []byte(content), 0o644); err != nil {
fmt.Fprintf(os.Stderr, "failed to write run log: %v\n", err)
return
}