From c5c02af65cb213bd505ced71c8d4566be7cfe33e Mon Sep 17 00:00:00 2001 From: Hrishikesh Kokate Date: Tue, 22 Feb 2022 11:54:17 +0530 Subject: [PATCH] fix(cli): whitespace and line-break support to style block (#697) --- src/cli/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/index.ts b/src/cli/index.ts index 18c4c9fd..ae312bb5 100644 --- a/src/cli/index.ts +++ b/src/cli/index.ts @@ -214,7 +214,7 @@ function attributify(files: string[]) { function styleBlock(files: string[]) { files.forEach((file) => { const content = readFileSync(file).toString(); - const block = content.match(/(?<=