Skip to content
Snippets Groups Projects
Commit e8096693 authored by Arseny Zarechnev's avatar Arseny Zarechnev
Browse files

Fix github importer to handle empty issues

parent 6f6c75cb
No related branches found
No related tags found
No related merge requests found
Loading
@@ -19,7 +19,7 @@ module Gitlab
Loading
@@ -19,7 +19,7 @@ module Gitlab
if issue.pull_request.nil? if issue.pull_request.nil?
   
body = @formatter.author_line(issue.user.login) body = @formatter.author_line(issue.user.login)
body += issue.body body += issue.body || ""
   
if issue.comments > 0 if issue.comments > 0
body += @formatter.comments_header body += @formatter.comments_header
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment