summaryrefslogtreecommitdiff
path: root/app/services/protected_branches/legacy_api_create_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/protected_branches/legacy_api_create_service.rb')
-rw-r--r--app/services/protected_branches/legacy_api_create_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/protected_branches/legacy_api_create_service.rb b/app/services/protected_branches/legacy_api_create_service.rb
index bb7656489c5..aef99a860a0 100644
--- a/app/services/protected_branches/legacy_api_create_service.rb
+++ b/app/services/protected_branches/legacy_api_create_service.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
# The branches#protect API still uses the `developers_can_push` and `developers_can_merge`
# flags for backward compatibility, and so performs translation between that format and the
# internal data model (separate access levels). The translation code is non-trivial, and so