summaryrefslogtreecommitdiff
path: root/app/uploaders/import_export_uploader.rb
diff options
context:
space:
mode:
authorgfyoung <gfyoung17@gmail.com>2018-07-21 17:39:30 -0700
committergfyoung <gfyoung17@gmail.com>2018-07-21 19:00:50 -0700
commitd4da4829d41038afaaf19fb17bb4803092d06e29 (patch)
treee5b04ddd6a5caae1fbdc38333c2b9945043dc0a2 /app/uploaders/import_export_uploader.rb
parent4271f448c85f6a3dc50728a4b77d7d57474bac6f (diff)
downloadgitlab-ce-d4da4829d41038afaaf19fb17bb4803092d06e29.tar.gz
Enable frozen string in newly added files
Enables frozen string for new files in directories that had been previously covered in previous MR's. Partially addresses #47424.
Diffstat (limited to 'app/uploaders/import_export_uploader.rb')
-rw-r--r--app/uploaders/import_export_uploader.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/uploaders/import_export_uploader.rb b/app/uploaders/import_export_uploader.rb
index 213ac5c8011..7c45ba5ca95 100644
--- a/app/uploaders/import_export_uploader.rb
+++ b/app/uploaders/import_export_uploader.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class ImportExportUploader < AttachmentUploader
EXTENSION_WHITELIST = %w[tar.gz].freeze