Remove extra space in app/controllers/import/bitbucket_server_controller.rb

This commit is contained in:
Stan Hu 2018-08-01 10:04:47 -07:00
parent 0b2db3324b
commit b2da3a351a
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class Import::BitbucketServerController < Import::BaseController
@project_key = params[:project]
@repo_slug = params[:repository]
return render_validation_error('Missing project key' ) unless @project_key.present? && @repo_slug.present?
return render_validation_error('Missing project key') unless @project_key.present? && @repo_slug.present?
return render_validation_error('Missing repository slug') unless @repo_slug.present?
return render_validation_error('Invalid project key') unless @project_key =~ VALID_BITBUCKET_CHARS
return render_validation_error('Invalid repository slug') unless @repo_slug =~ VALID_BITBUCKET_CHARS