diff options
author | Stan Hu <stanhu@gmail.com> | 2018-07-31 23:59:45 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-07-31 23:59:45 +0300 |
commit | 0b91a53302b4800a626fe4c930e08eebaa34b3da (patch) | |
tree | 3074199e93e907e9bde6a1a8a8fce0b26ea6bc42 /lib | |
parent | fc5df829bdbad7a47eae9ba1e14b55d3bb9ec39a (diff) |
Handle empty description field
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/bitbucket_server_import/importer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/bitbucket_server_import/importer.rb b/lib/gitlab/bitbucket_server_import/importer.rb index 74ae6bc1ba5..a10cd860639 100644 --- a/lib/gitlab/bitbucket_server_import/importer.rb +++ b/lib/gitlab/bitbucket_server_import/importer.rb @@ -174,7 +174,7 @@ module Gitlab def import_bitbucket_pull_request(pull_request) description = '' description += @formatter.author_line(pull_request.author) unless find_user_id(pull_request.author_email) - description += pull_request.description + description += pull_request.description if pull_request.description source_branch_sha = pull_request.source_branch_sha target_branch_sha = pull_request.target_branch_sha |