Remove extra space in app/controllers/import/bitbucket_server_controller.rb
This commit is contained in:
parent
0b2db3324b
commit
b2da3a351a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue