diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-07-05 03:18:17 -0700 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-07-16 06:41:59 -0700 |
commit | ddca49e4b594ad715cd5854521c25d19fb4a3b06 (patch) | |
tree | cdb5668fdb49bf80590ea3f3ac94e3e7ba02b29a /app/services/upload_service.rb | |
parent | 05af376805577cf7111b60b316d712b0ea180c5e (diff) | |
download | gitlab-ce-ddca49e4b594ad715cd5854521c25d19fb4a3b06.tar.gz |
Enable frozen string in apps/uploaders/*.rb
Partially addresses #47424.
Diffstat (limited to 'app/services/upload_service.rb')
-rw-r--r-- | app/services/upload_service.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/upload_service.rb b/app/services/upload_service.rb index 8e20512cd61..39909ee4f82 100644 --- a/app/services/upload_service.rb +++ b/app/services/upload_service.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class UploadService def initialize(model, file, uploader_class = FileUploader, **uploader_context) @model, @file, @uploader_class, @uploader_context = model, file, uploader_class, uploader_context |