Skip to content

Commit

Permalink
when yaml element resolves to "\n" strip it out so we dont post it to…
Browse files Browse the repository at this point in the history
… jira
  • Loading branch information
Cory Bennett committed Oct 6, 2015
1 parent 618f245 commit 47ced2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jira/cli/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47ced2f

Please sign in to comment.