FIX s3_helper.list for buckets with folders

s3_bucket_folder_path does not contain a trailing slash so it was
smashingstufftogether
This commit is contained in:
Andrew Schleifer 2018-05-22 16:30:32 -05:00
parent ad9e0d6bea
commit ff15d95983
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class S3Helper
end
def list(prefix = "")
s3_bucket.objects(prefix: @s3_bucket_folder_path.to_s + prefix)
s3_bucket.objects(prefix: "#{@s3_bucket_folder_path}/#{prefix}")
end
def tag_file(key, tags)