File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -113,14 +113,14 @@ module.exports = function (options) {
113
113
counter ++ ;
114
114
// creating directory recursive
115
115
mkdirp ( options . uploadDir ( ) + '/' + version + '/' , function ( err , made ) {
116
- var opts = options . imageVersions [ version ] ;
117
- imageMagick . resize ( {
118
- width : opts . width ,
119
- height : opts . height ,
120
- srcPath : options . uploadDir ( ) + '/' + fileInfo . name ,
121
- dstPath : options . uploadDir ( ) + '/' + version + '/' + fileInfo . name ,
122
- customArgs : opts . imageArgs || [ '-auto-orient' ]
123
- } , finish ) ;
116
+ var opts = options . imageVersions [ version ] ;
117
+ imageMagick . resize ( {
118
+ width : opts . width ,
119
+ height : opts . height ,
120
+ srcPath : options . uploadDir ( ) + '/' + fileInfo . name ,
121
+ dstPath : options . uploadDir ( ) + '/' + version + '/' + fileInfo . name ,
122
+ customArgs : opts . imageArgs || [ '-auto-orient' ]
123
+ } , finish ) ;
124
124
} ) ;
125
125
} ) ;
126
126
}
You can’t perform that action at this time.
0 commit comments