1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Tools: Apply eslint rules "no-console" and "id-denylist"

This commit is contained in:
Laurent Cozic
2023-02-16 10:55:24 +00:00
parent 625689dbb1
commit 7fa1459dc3
77 changed files with 183 additions and 79 deletions

View File

@ -107,8 +107,8 @@ export const svgUriToPng = (document: Document, svg: string, width: number, heig
canvas.remove();
img.remove();
resolve(buff);
} catch (err) {
cleanUpAndReject(err);
} catch (error) {
cleanUpAndReject(error);
}
};
img.onerror = function(e) {