Skip to content

Commit a70a046

Browse files
committed
Fixed templatePath not being optional
1 parent ed3ca38 commit a70a046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ var (
9999
func main() {
100100
kingpin.Parse()
101101

102-
if templatePath != nil {
102+
if templatePath != nil && *templatePath != "" {
103103
tmpH = loadTemplate(templatePath)
104104
} else {
105105
tmpH = nil

0 commit comments

Comments
 (0)