diff --git a/src/lsp/providers/codeActions/provideInvalidApplyCodeActions.ts b/src/lsp/providers/codeActions/provideInvalidApplyCodeActions.ts index 23cdbb5..22c6603 100644 --- a/src/lsp/providers/codeActions/provideInvalidApplyCodeActions.ts +++ b/src/lsp/providers/codeActions/provideInvalidApplyCodeActions.ts @@ -104,7 +104,7 @@ export async function provideInvalidApplyCodeActions( } let outputIndent: string - let documentIndent = detectIndent(documentText) + let documentIndent = detectIndent(cssText) changes.push({ range: ruleRange,