mirror of https://github.com/therootcompany/s3.js
make Prettier
This commit is contained in:
parent
498e8cca1c
commit
ad0fa1f83b
8
index.js
8
index.js
|
@ -41,7 +41,7 @@ module.exports = S3 = {
|
||||||
}
|
}
|
||||||
var signed = aws4.sign(
|
var signed = aws4.sign(
|
||||||
{
|
{
|
||||||
host: host || (bucket + '.s3.amazonaws.com'),
|
host: host || bucket + '.s3.amazonaws.com',
|
||||||
service: 's3',
|
service: 's3',
|
||||||
region: region,
|
region: region,
|
||||||
path: (host ? '/' + bucket : '') + '/' + prefix + key,
|
path: (host ? '/' + bucket : '') + '/' + prefix + key,
|
||||||
|
@ -91,7 +91,7 @@ module.exports = S3 = {
|
||||||
}
|
}
|
||||||
var signed = aws4.sign(
|
var signed = aws4.sign(
|
||||||
{
|
{
|
||||||
host: host || (bucket + '.s3.amazonaws.com'),
|
host: host || bucket + '.s3.amazonaws.com',
|
||||||
service: 's3',
|
service: 's3',
|
||||||
region: region,
|
region: region,
|
||||||
path: (host ? '/' + bucket : '') + '/' + prefix + key,
|
path: (host ? '/' + bucket : '') + '/' + prefix + key,
|
||||||
|
@ -152,7 +152,7 @@ module.exports = S3 = {
|
||||||
}
|
}
|
||||||
var signed = aws4.sign(
|
var signed = aws4.sign(
|
||||||
{
|
{
|
||||||
host: host || (bucket + '.s3.amazonaws.com'),
|
host: host || bucket + '.s3.amazonaws.com',
|
||||||
service: 's3',
|
service: 's3',
|
||||||
region: region,
|
region: region,
|
||||||
path: (host ? '/' + bucket : '') + '/' + prefix + key,
|
path: (host ? '/' + bucket : '') + '/' + prefix + key,
|
||||||
|
@ -196,7 +196,7 @@ module.exports = S3 = {
|
||||||
}
|
}
|
||||||
var signed = aws4.sign(
|
var signed = aws4.sign(
|
||||||
{
|
{
|
||||||
host: host || (bucket + '.s3.amazonaws.com'),
|
host: host || bucket + '.s3.amazonaws.com',
|
||||||
service: 's3',
|
service: 's3',
|
||||||
region: region,
|
region: region,
|
||||||
path: (host ? '/' + bucket : '') + '/' + prefix + key,
|
path: (host ? '/' + bucket : '') + '/' + prefix + key,
|
||||||
|
|
Loading…
Reference in New Issue