File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ class S3Adapter {
156
156
Key : this . _bucketPrefix + key_without_prefix ,
157
157
Body : data ,
158
158
} ;
159
-
159
+
160
160
if ( this . _fileAcl ) {
161
161
if ( this . _fileAcl === 'none' ) {
162
162
delete params . ACL ;
Original file line number Diff line number Diff line change @@ -42,12 +42,12 @@ const optionsFromArguments = function optionsFromArguments(args) {
42
42
} else if ( args . length === 2 ) {
43
43
options . bucket = stringOrOptions ;
44
44
if ( typeof args [ 1 ] !== 'object' ) {
45
- throw new Error ( ' Failed to configure S3Adapter. Arguments don\ 't make sense' ) ;
45
+ throw new Error ( " Failed to configure S3Adapter. Arguments don't make sense" ) ;
46
46
}
47
47
otherOptions = args [ 1 ] ;
48
48
} else if ( args . length > 2 ) {
49
49
if ( typeof args [ 1 ] !== 'string' || typeof args [ 2 ] !== 'string' ) {
50
- throw new Error ( ' Failed to configure S3Adapter. Arguments don\ 't make sense' ) ;
50
+ throw new Error ( " Failed to configure S3Adapter. Arguments don't make sense" ) ;
51
51
}
52
52
options . accessKey = args [ 0 ] ;
53
53
options . secretKey = args [ 1 ] ;
@@ -81,7 +81,7 @@ const optionsFromArguments = function optionsFromArguments(args) {
81
81
options . bucket = s3overrides . params . Bucket ;
82
82
}
83
83
} else if ( args . length > 2 ) {
84
- throw new Error ( ' Failed to configure S3Adapter. Arguments don\ 't make sense' ) ;
84
+ throw new Error ( " Failed to configure S3Adapter. Arguments don't make sense" ) ;
85
85
}
86
86
87
87
options = fromOptionsDictionaryOrDefault ( options , 's3overrides' , s3overrides ) ;
Original file line number Diff line number Diff line change @@ -882,7 +882,7 @@ describe('S3Adapter tests', () => {
882
882
} ;
883
883
s3ClientMock . send . and . returnValue ( Promise . resolve ( mockS3Response ) ) ;
884
884
s3 . _s3Client = s3ClientMock ;
885
-
885
+
886
886
// Mock getFileLocation to return a presigned URL
887
887
spyOn ( s3 , 'getFileLocation' ) . and . returnValue ( Promise . resolve ( 'https://presigned-url.com/file.txt' ) ) ;
888
888
You can’t perform that action at this time.
0 commit comments