mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
Made s3-download-stream-tests.ts indentation 4 spaces
This commit is contained in:
@@ -5,14 +5,14 @@ import * as fs from "fs";
|
||||
// Documentation for "params":
|
||||
// http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#getObject-property
|
||||
var config = {
|
||||
client: new AWS.S3({}),
|
||||
concurrency: 6,
|
||||
chunkSize: '512KB',
|
||||
params: {
|
||||
Key: 'key-name',
|
||||
Bucket: 'bucket-name'
|
||||
}
|
||||
client: new AWS.S3({}),
|
||||
concurrency: 6,
|
||||
chunkSize: '512KB',
|
||||
params: {
|
||||
Key: 'key-name',
|
||||
Bucket: 'bucket-name'
|
||||
}
|
||||
}
|
||||
|
||||
S3Stream(config)
|
||||
.pipe(fs.createWriteStream('/path/to/a/file'));
|
||||
.pipe(fs.createWriteStream('/path/to/a/file'));
|
||||
|
||||
Reference in New Issue
Block a user