mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-06 04:58:30 +02:00
when yaml element resolves to "\n" strip it out so we dont post it to jira
This commit is contained in:
+1
-1
@@ -295,7 +295,7 @@ func yamlFixup(data interface{}) (interface{}, error) {
|
|||||||
}
|
}
|
||||||
return copy, nil
|
return copy, nil
|
||||||
case string:
|
case string:
|
||||||
if d == "" {
|
if d == "" || d == "\n" {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
return d, nil
|
return d, nil
|
||||||
|
|||||||
Reference in New Issue
Block a user