We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92479a8 commit f91e38aCopy full SHA for f91e38a
src/index.ts
@@ -50,7 +50,7 @@ export = (mod: { typescript: typeof ts }) => {
50
// styled.x`
51
// color: ${'red'};
52
// `
53
- if (pre.match(/(;|^|\})[\s|\n]*$$/)) {
+ if (pre.match(/(;|^|\})[\s|\n]*$/)) {
54
// Mixin, replace with a dummy variable declaration, so scss server doesn't complain about rogue semicolon
55
return '$a:0' + result.slice(4); // replace(/./gm, c => c === '\n' ? '\n' : ' ');
56
}
0 commit comments