mirror of
https://github.com/discourse/discourse.git
synced 2025-08-21 19:11:18 +08:00
Fix typo
This commit is contained in:
parent
484bd82278
commit
e2f7db5549
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue