diff options
author | Stan Hu <stanhu@gmail.com> | 2016-11-17 20:16:22 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-11-21 16:47:29 -0800 |
commit | b8bf28348fb903c62e084353896873438f4f0845 (patch) | |
tree | 0cb8b23be351db10023d2143ae7ad5d7983ce094 /lib/gitlab/bitbucket_import/importer.rb | |
parent | f25d64d41ae16b96c1381068112717be5b4a1552 (diff) | |
download | gitlab-ce-b8bf28348fb903c62e084353896873438f4f0845.tar.gz |
Rubocop fixes
Diffstat (limited to 'lib/gitlab/bitbucket_import/importer.rb')
-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 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 |