chore: code formatting

This commit is contained in:
github-actions[bot] committed 2022-11-21 05:34:24 +00:00
1 parent 75b3e6d670
commit 5e2b16a736
3 files changed
+170 -160

No files matched your search

+1 -1
View File
@@ -445,7 +445,7 @@ export const filters = {
/**Image to base64 */
export async function imgb64(image, {width, height, fallback = true} = {}) {
//Ignore already encoded-base 64
if ((typeof image === "string")&&(image.startsWith("data:image/png;base64")))
if ((typeof image === "string") && (image.startsWith("data:image/png;base64")))
return image
//Undefined image
if (!image)