Skip to content

Commit

Permalink
test without return to pass lint
Browse files Browse the repository at this point in the history
  • Loading branch information
FentPams committed Aug 13, 2024
1 parent f7f5d50 commit 87b2e88
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 87b2e88

Please sign in to comment.