summaryrefslogtreecommitdiff
path: root/app/helpers/git_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/git_helper.rb')
-rw-r--r--app/helpers/git_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/git_helper.rb b/app/helpers/git_helper.rb
index 8ab394384f3..5edc6dcf454 100644
--- a/app/helpers/git_helper.rb
+++ b/app/helpers/git_helper.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module GitHelper
def strip_gpg_signature(text)
text.gsub(/-----BEGIN PGP SIGNATURE-----(.*)-----END PGP SIGNATURE-----/m, "")