Skip to content

Commit

Permalink
Add break to short circuit when normalized string found
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Halsall <[email protected]>
  • Loading branch information
eoghanmurray and Juice10 authored Aug 2, 2024
1 parent 2bc2fc9 commit 3eb869b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/rrweb-snapshot/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ export function splitCssText(
) {
splits.push(cssText.substring(0, k));
cssText = cssText.substring(k);
break;
}
}
break;
Expand Down

0 comments on commit 3eb869b

Please sign in to comment.