when yaml element resolves to "\n" strip it out so we dont post it to jira

This commit is contained in:
Cory Bennett
2015-10-06 11:54:05 -07:00
parent aaff47d606
commit 20faa959aa
+1 -1
View File
@@ -295,7 +295,7 @@ func yamlFixup(data interface{}) (interface{}, error) {
}
return copy, nil
case string:
if d == "" {
if d == "" || d == "\n" {
return nil, nil
}
return d, nil