Skip to content

Commit f89a663

Browse files
saadichouaibcsaadi
and
csaadi
authored
Fix empty output settings sent in Resemble options (#120)
Co-authored-by: csaadi <[email protected]>
1 parent 52afc96 commit f89a663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class ResembleHelper extends Helper {
7878

7979
return new Promise((resolve, reject) => {
8080

81-
if (options.outputSettings) {
81+
if (!options.outputSettings) {
8282
options.outputSettings = {};
8383
}
8484
if (typeof options.needsSameDimension === 'undefined') {

0 commit comments

Comments
 (0)