Finish update optimization.

This commit is contained in:
Aaron L 2016-09-03 22:53:42 -07:00
parent 0ebccdb20a
commit ecfa35350c
2 changed files with 30 additions and 12 deletions
templates/singleton

View file

@ -24,6 +24,9 @@ func makeCacheKey(wl, nzDefaults []string) string {
for _, w := range wl {
buf.WriteString(w)
}
if len(nzDefaults) != 0 {
buf.WriteByte('.')
}
for _, nz := range nzDefaults {
buf.WriteString(nz)
}