From 47ced2fa24b4cdd186e152313a6c5680507dc52a Mon Sep 17 00:00:00 2001 From: Cory Bennett Date: Tue, 6 Oct 2015 11:54:05 -0700 Subject: [PATCH] when yaml element resolves to "\n" strip it out so we dont post it to jira --- jira/cli/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jira/cli/util.go b/jira/cli/util.go index 86a53de1..d481496a 100644 --- a/jira/cli/util.go +++ b/jira/cli/util.go @@ -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