Skip to content

Commit

Permalink
Merge pull request #161 from papandreou/failOnError-option-for-sharp
Browse files Browse the repository at this point in the history
Added support for configuring 'failOnError' for Sharp engine via 'impro'
  • Loading branch information
paras20xx authored Sep 21, 2021
2 parents 9f16ba4 + 7432508 commit f426255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/processImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ module.exports = (options) => {
maxInputPixels: options.maxInputPixels,
maxOutputPixels: options.maxOutputPixels,
sharpCache: options.sharpCache,
sharpFailOnError: options.sharpFailOnError,
svgAssetPath: options.root
? Path.resolve(options.root, req.url.substr(1))
: null,
Expand Down

0 comments on commit f426255

Please sign in to comment.