Skip to content

Commit 41b4e99

Browse files
committed
fix: prettier
1 parent 66ebf1c commit 41b4e99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/load-image.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
if (resolve) resolve(img, data)
4747
return
4848
} else if (img instanceof Error) {
49-
reject(img);
50-
return;
49+
reject(img)
50+
return
5151
}
5252
data = data || {} // eslint-disable-line no-param-reassign
5353
data.image = img

0 commit comments

Comments
 (0)