diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-01-05 23:49:11 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-01-05 23:49:11 +0800 |
commit | 5e12b3d841b0da1a2c6047de53a033107bbb5c32 (patch) | |
tree | 513a1b99a0511ba614f905b14cc9ad613c246f32 /app/services/create_branch_service.rb | |
parent | 0b3b56b34d959322cced8a317138945c685015b8 (diff) | |
download | gitlab-ce-5e12b3d841b0da1a2c6047de53a033107bbb5c32.tar.gz |
Prefer leading dots over trailing dots
Diffstat (limited to 'app/services/create_branch_service.rb')
-rw-r--r-- | app/services/create_branch_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/create_branch_service.rb b/app/services/create_branch_service.rb index 1b5e504573a..77459d8779d 100644 --- a/app/services/create_branch_service.rb +++ b/app/services/create_branch_service.rb @@ -1,7 +1,7 @@ class CreateBranchService < BaseService def execute(branch_name, ref) - result = ValidateNewBranchService.new(project, current_user). - execute(branch_name) + result = ValidateNewBranchService.new(project, current_user) + .execute(branch_name) return result if result[:status] == :error |