Skip to content

Commit

Permalink
chore(dev-utils): match quotation marks for sass files
Browse files Browse the repository at this point in the history
This broke after upgrading prettier, so just make it match any quote.
  • Loading branch information
mlaursen committed Sep 14, 2021
1 parent 1273c86 commit 98ffe40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dev-utils/src/utils/styles/combineAllFiles.ts
Expand Up @@ -119,7 +119,7 @@ export function combineAllFiles(): void {

const contents = readFileSync(filePath, "utf8");

const fileUses = contents.match(/^@use "(.+)";/gm);
const fileUses = contents.match(/^@use ('|")(.+)\1;/gm);
const imports = contents.match(/^@import.+$/gm);
files.push(
contents
Expand Down

1 comment on commit 98ffe40

@vercel
Copy link

@vercel vercel bot commented on 98ffe40 Sep 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.