diff --git a/pkg/engine/engine.go b/pkg/engine/engine.go index 2c7ed9fe8..353d4c76b 100644 --- a/pkg/engine/engine.go +++ b/pkg/engine/engine.go @@ -83,6 +83,7 @@ type renderable struct { const warnStartDelim = "HELM_ERR_START" const warnEndDelim = "HELM_ERR_END" + var warnRegex = regexp.MustCompile(warnStartDelim + `(.*)` + warnEndDelim) func warnWrap(warn string) string {