From 98929c493cf7b99beb95f0ed45d08d7486959d48 Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Sun, 7 Jul 2024 13:57:39 +0000 Subject: [PATCH] url: fix botched lint --- src/modules/processing/url.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/processing/url.js b/src/modules/processing/url.js index 6b86fb05..180ec6ee 100644 --- a/src/modules/processing/url.js +++ b/src/modules/processing/url.js @@ -23,7 +23,7 @@ function aliasURL(url) { ** but we only care about the 1st segment of the path */ url = new URL(`https://youtube.com/watch?v=${ encodeURIComponent(parts[1]) - }`) + }`) } break; @@ -31,7 +31,7 @@ function aliasURL(url) { if (url.hostname === 'pin.it' && parts.length === 2) { url = new URL(`https://pinterest.com/url_shortener/${ encodeURIComponent(parts[1]) - }`) + }`) } break;