diff options
author | Valery Sizov <valery@gitlab.com> | 2016-12-07 12:33:32 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-12-07 12:33:32 +0300 |
commit | 67b7637e5d7d3cf3e3f5cde6e7f984ece368c48c (patch) | |
tree | 2418c8d6c0c369023e75d89dec785a5d8f4c0dff /lib/gitlab/bitbucket_import | |
parent | 43b7b0ce23d4de7055dc1cdd660b92ff03f4eb1e (diff) |
Apply review comments. Iteration 1
Diffstat (limited to 'lib/gitlab/bitbucket_import')
-rw-r--r-- | lib/gitlab/bitbucket_import/importer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/bitbucket_import/importer.rb b/lib/gitlab/bitbucket_import/importer.rb index 34d93542955..0f583b07e93 100644 --- a/lib/gitlab/bitbucket_import/importer.rb +++ b/lib/gitlab/bitbucket_import/importer.rb @@ -32,7 +32,7 @@ module Gitlab end def import_issues - return unless repo.has_issues? + return unless repo.issues_enabled? client.issues(repo).each do |issue| description = @formatter.author_line(issue.author) |