diff options
author | Stan Hu <stanhu@gmail.com> | 2018-07-08 21:36:02 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-07-08 21:36:02 -0700 |
commit | d5ac4ea32fea3c05338380714d576d33bacb4889 (patch) | |
tree | 7300655ac8483b73e35295719383f151f9384803 /app/controllers | |
parent | 589a28889a3c383131e67343e121443e3c88e4a8 (diff) | |
download | gitlab-ce-d5ac4ea32fea3c05338380714d576d33bacb4889.tar.gz |
Fix Rubocop error
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/import/bitbucket_server_controller.rb | 2 |
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 |