From 87b2e887a051e9c691f26e5f367a096e4c1f5bf4 Mon Sep 17 00:00:00 2001 From: Xinyi Feng Date: Tue, 13 Aug 2024 15:20:59 -0700 Subject: [PATCH] test without return to pass lint --- src/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/index.js b/src/index.js index 6a723ee..4780014 100644 --- a/src/index.js +++ b/src/index.js @@ -377,8 +377,6 @@ function createModificationsHandler( // Firing RUM event early since redirection will stop the rest of the JS execution fireRUM(type, config, pluginOptions, url); window.location.replace(url); - // eslint-disable-next-line consistent-return - return ns; } // eslint-disable-next-line no-await-in-loop res = await replaceInner(new URL(url, window.location.origin).pathname, el);