From 5b0da634f92c6fffe4826b05d8cc0060aa9d2794 Mon Sep 17 00:00:00 2001 From: cubemaster21 Date: Tue, 13 Jun 2023 09:27:51 -0400 Subject: [PATCH] Added fallback path for when no url or base64 is found on image tag --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 9c06b83..bf4f4d9 100644 --- a/index.js +++ b/index.js @@ -121,6 +121,8 @@ async function run(url, processor) { } } }); + } else { + resolve({}) } }))) console.log('URLS done downloading')