Skip to content

Commit

Permalink
Satisfy eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
eoghanmurray committed Jan 10, 2025
1 parent ec2da5c commit 72eb71a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rrweb-snapshot/src/rebuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ export function applyCssSplits(

let found = false;
for (; endSearch > 2; endSearch--) {
let searchBit = cssTextSplits[i + 1].substring(0, endSearch);
let searchIndex = adaptedCss.substring(startIndex).indexOf(searchBit);
const searchBit = cssTextSplits[i + 1].substring(0, endSearch);
const searchIndex = adaptedCss.substring(startIndex).indexOf(searchBit);
found = searchIndex !== -1;
if (found) {
endIndex += searchIndex;
Expand Down

0 comments on commit 72eb71a

Please sign in to comment.