File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 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 ) ;
You can’t perform that action at this time.
0 commit comments