File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -91,16 +91,16 @@ module.exports = class {
91
91
const newPath = path . join ( dir , base + size . rename . suffix + ext )
92
92
const newPathOutput = path . join ( outputPath , newPath )
93
93
if ( imgsRendered . includes ( newPath ) ) {
94
- // console.log(`FOUND RESIZED IMAGE FOR ${newPath}`);
95
- return ;
94
+ // console.log(`FOUND RESIZED IMAGE FOR ${newPath}`)
95
+ return
96
96
}
97
- // console.log(`RENDERING NEW RESIZED IMAGE FOR ${newPath}`);
97
+ // console.log(`RENDERING NEW RESIZED IMAGE FOR ${newPath}`)
98
98
const resized = image . resize ( {
99
99
width : size . width ,
100
100
withoutEnlargement : true ,
101
101
kernel : "lanczos2" ,
102
102
} )
103
- resized . toFile ( newPathOutput ) ;
103
+ resized . toFile ( newPathOutput )
104
104
} )
105
105
106
106
processedImages . push ( img )
You can’t perform that action at this time.
0 commit comments