upgrade electron-builder to 22.10.5

This commit is contained in:
Fedor Indutny 2021-04-13 18:27:43 -07:00 committed by GitHub
parent a4ff7ae240
commit 25458be515
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 426 additions and 246 deletions

View file

@ -24,7 +24,7 @@ exports.autoOrientImage = (fileOrBlobOrURL, options = {}) => {
canvasOrError => {
if (canvasOrError.type === 'error') {
const error = new Error('autoOrientImage: Failed to process image');
error.cause = canvasOrError;
error.originalError = canvasOrError;
reject(error);
return;
}