summaryrefslogtreecommitdiff
path: root/lib/gitlab/bitbucket_import/importer.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-11-17 20:16:22 -0800
committerStan Hu <stanhu@gmail.com>2016-11-21 16:47:29 -0800
commitb8bf28348fb903c62e084353896873438f4f0845 (patch)
tree0cb8b23be351db10023d2143ae7ad5d7983ce094 /lib/gitlab/bitbucket_import/importer.rb
parentf25d64d41ae16b96c1381068112717be5b4a1552 (diff)
downloadgitlab-ce-b8bf28348fb903c62e084353896873438f4f0845.tar.gz
Rubocop fixes
Diffstat (limited to 'lib/gitlab/bitbucket_import/importer.rb')
-rw-r--r--lib/gitlab/bitbucket_import/importer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/bitbucket_import/importer.rb b/lib/gitlab/bitbucket_import/importer.rb
index 94e8062e447..1f7a691e6dd 100644
--- a/lib/gitlab/bitbucket_import/importer.rb
+++ b/lib/gitlab/bitbucket_import/importer.rb
@@ -139,7 +139,7 @@ module Gitlab
line_code: line_code_map.fetch(comment.iid),
type: 'LegacyDiffNote')
- note = merge_request.notes.create!(attributes)
+ merge_request.notes.create!(attributes)
rescue ActiveRecord::RecordInvalid => e
Rails.log.error("Bitbucket importer ERROR: Invalid pull request comment #{e.message}")
nil