empty string period is inf
All checks were successful
cicd / ci (push) Successful in 2m36s

This commit is contained in:
Bel LaPointe
2026-03-04 08:14:07 -07:00
parent 7262f5f69b
commit 86b8e62862
2 changed files with 6 additions and 2 deletions

View File

@@ -353,7 +353,7 @@ func Main() {
}
f, err := os.Open(config.CSV)
if err != nil {
log.Fatalf("cannot open csv %q: %w", config.CSV, err)
log.Fatalf("cannot open csv %q: %v", config.CSV, err)
}
defer f.Close()
reader := csv.NewReader(f)
@@ -384,7 +384,7 @@ func Main() {
break
}
if err != nil {
log.Fatalf("failed to read csv line: %w", err)
log.Fatalf("failed to read csv line: %v", err)
}
dates := []string{}