summaryrefslogtreecommitdiff
path: root/app/controllers/import
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-07-08 21:36:02 -0700
committerStan Hu <stanhu@gmail.com>2018-07-08 21:36:02 -0700
commitd5ac4ea32fea3c05338380714d576d33bacb4889 (patch)
tree7300655ac8483b73e35295719383f151f9384803 /app/controllers/import
parent589a28889a3c383131e67343e121443e3c88e4a8 (diff)
downloadgitlab-ce-d5ac4ea32fea3c05338380714d576d33bacb4889.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 56bd0c1d2c0..a3c24422e63 100644
--- a/app/controllers/import/bitbucket_server_controller.rb
+++ b/app/controllers/import/bitbucket_server_controller.rb
@@ -31,7 +31,7 @@ class Import::BitbucketServerController < Import::BaseController
unless repo
return render json: { errors: "Project #{@project_key}/#{@repo_slug} could not be found" }, status: :unprocessable_entity
- end
+ end
project_name = params[:new_name].presence || repo.name