mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 22:55:41 +00:00
remove all trailing whitespace (#2344)
* remove all trailing whitespace * fix one scala file Former-commit-id: c73a66046649b189f5df617fefa6e099b1c05426
This commit is contained in:
@@ -26,7 +26,7 @@ end
|
||||
|
||||
def lambda_handler(event:, context:)
|
||||
response = fetch("https://docs.google.com/spreadsheets/d/1DHEsiv4cY4gE6AX3sVH82K__mpBD1aznIYCQwQxA_F0/export?gid=0&format=tsv")
|
||||
|
||||
|
||||
stringio = Zip::OutputStream.write_buffer do |zio|
|
||||
zip_entry = Zip::Entry.new(zio, 'names.tsv', nil, nil, nil, nil, nil, nil, Zip::DOSTime.at(0))
|
||||
zio.put_next_entry(zip_entry)
|
||||
@@ -34,7 +34,7 @@ def lambda_handler(event:, context:)
|
||||
end
|
||||
stringio.rewind
|
||||
new_contents = stringio.string.bytes
|
||||
|
||||
|
||||
s3 = Aws::S3::Client.new
|
||||
original_resp = s3.get_object(bucket:'eagle0', key:'names.tsv.zip')
|
||||
original_contents = original_resp.body.string.bytes
|
||||
|
||||
Reference in New Issue
Block a user