From 01a3d69adc2deb400875666b0c366337745264c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Szopi=C5=84ski?= Date: Thu, 16 Jul 2020 15:01:19 +0200 Subject: [PATCH] Fix indent --- background.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/background.js b/background.js index 1a317f7..9b83ee7 100644 --- a/background.js +++ b/background.js @@ -21,9 +21,9 @@ chrome.webRequest.onBeforeRequest.addListener( if (excludedSubdomains.indexOf(urlParser.hostname) != -1) return; - for (const path of excludedPaths) - if (urlParser.pathname.indexOf(path) == 0) - return; + for (const path of excludedPaths) { + if (urlParser.pathname.indexOf(path) == 0) return; + } return {redirectUrl: oldReddit + urlParser.pathname}; },