File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 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) {
113113 counter ++ ;
114114 // creating directory recursive
115115 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 ) ;
124124 } ) ;
125125 } ) ;
126126 }
You can’t perform that action at this time.
0 commit comments