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 {
156156 Key : this . _bucketPrefix + key_without_prefix ,
157157 Body : data ,
158158 } ;
159-
159+
160160 if ( this . _fileAcl ) {
161161 if ( this . _fileAcl === 'none' ) {
162162 delete params . ACL ;
Original file line number Diff line number Diff line change @@ -42,12 +42,12 @@ const optionsFromArguments = function optionsFromArguments(args) {
4242 } else if ( args . length === 2 ) {
4343 options . bucket = stringOrOptions ;
4444 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" ) ;
4646 }
4747 otherOptions = args [ 1 ] ;
4848 } else if ( args . length > 2 ) {
4949 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" ) ;
5151 }
5252 options . accessKey = args [ 0 ] ;
5353 options . secretKey = args [ 1 ] ;
@@ -81,7 +81,7 @@ const optionsFromArguments = function optionsFromArguments(args) {
8181 options . bucket = s3overrides . params . Bucket ;
8282 }
8383 } 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" ) ;
8585 }
8686
8787 options = fromOptionsDictionaryOrDefault ( options , 's3overrides' , s3overrides ) ;
Original file line number Diff line number Diff line change @@ -882,7 +882,7 @@ describe('S3Adapter tests', () => {
882882 } ;
883883 s3ClientMock . send . and . returnValue ( Promise . resolve ( mockS3Response ) ) ;
884884 s3 . _s3Client = s3ClientMock ;
885-
885+
886886 // Mock getFileLocation to return a presigned URL
887887 spyOn ( s3 , 'getFileLocation' ) . and . returnValue ( Promise . resolve ( 'https://presigned-url.com/file.txt' ) ) ;
888888
You can’t perform that action at this time.
0 commit comments