summaryrefslogtreecommitdiff
path: root/app/services/create_branch_service.rb
diff options
context:
space:
mode:
authorgfyoung <gfyoung17@gmail.com>2018-07-05 03:18:17 -0700
committergfyoung <gfyoung17@gmail.com>2018-07-16 06:41:59 -0700
commitddca49e4b594ad715cd5854521c25d19fb4a3b06 (patch)
treecdb5668fdb49bf80590ea3f3ac94e3e7ba02b29a /app/services/create_branch_service.rb
parent05af376805577cf7111b60b316d712b0ea180c5e (diff)
downloadgitlab-ce-ddca49e4b594ad715cd5854521c25d19fb4a3b06.tar.gz
Enable frozen string in apps/uploaders/*.rb
Partially addresses #47424.
Diffstat (limited to 'app/services/create_branch_service.rb')
-rw-r--r--app/services/create_branch_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/create_branch_service.rb b/app/services/create_branch_service.rb
index 9b1a4d960e2..65208b07e27 100644
--- a/app/services/create_branch_service.rb
+++ b/app/services/create_branch_service.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class CreateBranchService < BaseService
def execute(branch_name, ref)
create_master_branch if project.empty_repo?