Skip to content

Commit

Permalink
add TODO about handling default template
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeph Grunschlag committed Sep 6, 2023
1 parent dc1a16c commit 00ddd92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/block-generator/runner/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ func (r *Args) run(reportDirectory string) error {
fmt.Printf("%sPostgreSQL next round: %d\n", pad, nextRound)
}
default:
// TODO: the default case should attempt to read the supplied template name as a file under ./template/
return fmt.Errorf("unknown template type: %s", r.Template)
}

Expand Down

0 comments on commit 00ddd92

Please sign in to comment.