mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:12:45 +08:00
Fix typo
This commit is contained in:
parent
484bd82278
commit
e2f7db5549
|
@ -136,7 +136,7 @@ class S3Inventory
|
|||
|
||||
@s3_helper.download_file(symlink_file.key, filename, failure_message)
|
||||
File.readlines(filename).map do |key|
|
||||
key = key.sub("s3://#{bucket_name}/").sub("\n", "")
|
||||
key = key.sub("s3://#{bucket_name}/", "").sub("\n", "")
|
||||
{ key: key, filename: File.join(tmp_directory, File.basename(key)) }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user