From 543ad6bebb4e6ca69080d2df19a179489c210f77 Mon Sep 17 00:00:00 2001 From: Eoghan Murray Date: Wed, 18 Dec 2024 13:23:42 +0000 Subject: [PATCH] Fix eslint --- packages/rrweb-snapshot/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rrweb-snapshot/src/utils.ts b/packages/rrweb-snapshot/src/utils.ts index 79c11a7cad..7eff11eb4b 100644 --- a/packages/rrweb-snapshot/src/utils.ts +++ b/packages/rrweb-snapshot/src/utils.ts @@ -513,7 +513,7 @@ export function splitCssText( splits.push(cssText); return splits; } - let normPart = normalizeCssString(cssText.substring(0, k)); + const normPart = normalizeCssString(cssText.substring(0, k)); if (normPart.length === splitNorm) { splits.push(cssText.substring(0, k)); cssText = cssText.substring(k);