summaryrefslogtreecommitdiff
path: root/app/controllers/import
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-07-27 05:14:12 -0700
committerStan Hu <stanhu@gmail.com>2018-07-27 05:14:12 -0700
commitd27ae9f55dcf9b339c3f6d6df89853798c11f5f7 (patch)
tree6e1b4089fed3cd083895f561b14679129bdf55be /app/controllers/import
parent73f366e08f753a9f8f585a68e37458d9336ac4df (diff)
downloadgitlab-ce-d27ae9f55dcf9b339c3f6d6df89853798c11f5f7.tar.gz
Fix Rubocop error
Diffstat (limited to 'app/controllers/import')
-rw-r--r--app/controllers/import/bitbucket_server_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/import/bitbucket_server_controller.rb b/app/controllers/import/bitbucket_server_controller.rb
index 106783cd205..b4285c79135 100644
--- a/app/controllers/import/bitbucket_server_controller.rb
+++ b/app/controllers/import/bitbucket_server_controller.rb
@@ -90,7 +90,7 @@ class Import::BitbucketServerController < Import::BaseController
end
def render_validation_error(message)
- return render json: { errors: message }, status: :unprocessable_entity
+ render json: { errors: message }, status: :unprocessable_entity
end
def bitbucket_auth