File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -217,13 +217,13 @@ module.exports = function (options) {
217217 var fileName = options . uploadDir ( ) + '/' + fileInfo . name ;
218218 fs . readFile ( fileName , _ . bind ( function ( err , data ) {
219219 if ( ! err ) {
220- this . uploadToS3 ( this . removeExtraSlashes ( options . s3Url ( ) + '/' + fileInfo . name , data ) ) ;
220+ this . uploadToS3 ( this . removeExtraSlashes ( options . s3Url ( ) + '/' + fileInfo . name ) , data ) ;
221221
222222 async . each ( Object . keys ( options . imageVersions ) , _ . bind ( function ( version ) {
223223 fileName = options . uploadDir ( ) + '/' + version + '/' + fileInfo . name ;
224224 fs . readFile ( fileName , _ . bind ( function ( err , data ) {
225225 if ( ! err ) {
226- this . uploadToS3 ( this . removeExtraSlashes ( options . s3Url ( ) + '/' + version + '/' + fileInfo . name , data ) ) ;
226+ this . uploadToS3 ( this . removeExtraSlashes ( options . s3Url ( ) + '/' + version + '/' + fileInfo . name ) , data ) ;
227227 }
228228 } , this ) ) ;
229229 } , this ) ) ;
Original file line number Diff line number Diff line change 88 " express" ,
99 " middleware"
1010 ],
11- "version" : " 0.0.3 " ,
11+ "version" : " 0.0.4 " ,
1212 "dependencies" : {
1313 "async" : " *" ,
1414 "aws-sdk" : " ^2.0.17" ,
3030 "scripts" : {
3131 "test" : " echo \" Error: no test specified\" && exit 1"
3232 },
33- "_id" : " jquery-cloud-file-upload-middleware@0.0.3 " ,
33+ "_id" : " jquery-cloud-file-upload-middleware@0.0.4 " ,
3434 "license" : " MIT"
3535}
You can’t perform that action at this time.
0 commit comments