ref: af99a59021cc1231d5afa79f4ab17d34f39260fc
parent: 260b55ea56ea8998431aca2b80d2b1e47c6a31c3
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Fri Apr 7 06:43:48 EDT 2017
output: Add some sane defaults for output format Fixes #3290
--- a/output/outputFormat.go
+++ b/output/outputFormat.go
@@ -241,6 +241,14 @@
return f, err
}
+ // We need values for these
+ if newOutFormat.BaseName == "" {
+ newOutFormat.BaseName = "index"
+ }
+ if newOutFormat.Rel == "" {
+ newOutFormat.Rel = "alternate"
+ }
+
f = append(f, newOutFormat)
}
}
--
⑨