mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
DEV: Apply Rubocop redundant return style
This commit is contained in:
@ -55,7 +55,7 @@ module FileStore
|
||||
path, etag = @s3_helper.upload(file, path, options)
|
||||
|
||||
# return the upload url and etag
|
||||
return File.join(absolute_base_url, path), etag
|
||||
[File.join(absolute_base_url, path), etag]
|
||||
end
|
||||
|
||||
def remove_file(url, path)
|
||||
|
Reference in New Issue
Block a user