1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

Chore: Implement eslint rule no-unused-expressions (#11533)

This commit is contained in:
Laurent Cozic
2024-12-18 14:30:05 +01:00
committed by GitHub
parent 482c9e9aab
commit 3cba4ec82c
17 changed files with 37 additions and 19 deletions

View File

@@ -465,7 +465,7 @@ function shimInit(options: ShimInitOptions = null) {
} else {
throw new Error('Unsupported method');
}
},
};
shim.imageFromDataUrl = async function(imageDataUrl, filePath, options = null) {
if (options === null) options = {};