Skip to content

Commit 608ccf5

Browse files
committed
fix promise
1 parent 44301a0 commit 608ccf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export default (options = {}) => {
8484
// Everything below is expensive, so we want to short-circuit this as much as possible
8585
// load in the image
8686
return jimp.read(image)
87-
.then((err, jimpObj) => Promise.allSettled(
87+
.then((jimpObj) => Promise.allSettled(
8888
outputs
8989
// Get only the sizes that we need to generate
9090
.reduce((acc, val) => {

0 commit comments

Comments
 (0)