summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2021-06-14 18:18:59 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-06-14 18:18:59 +0000
commit40720b2c1e6db7d8df9d3f717cd5288363ed17a5 (patch)
tree9512a422e95276417463469e545d7114691ccc06
parent73a43d93013f23ba17bf067fff64836e7f5fc2cb (diff)
downloadastro-40720b2c1e6db7d8df9d3f717cd5288363ed17a5.tar.gz
astro-40720b2c1e6db7d8df9d3f717cd5288363ed17a5.tar.zst
astro-40720b2c1e6db7d8df9d3f717cd5288363ed17a5.zip
[ci] yarn format
-rw-r--r--packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts b/packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts
index a10eba77a..7ee20fb6d 100644
--- a/packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts
+++ b/packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts
@@ -100,7 +100,7 @@ export default function astroScopedStyles(options: AstroScopedOptions): Plugin {
return {
postcssPlugin: '@astrojs/postcss-scoped-styles',
Rule(rule) {
- if(!rulesScopedCache.has(rule)) {
+ if (!rulesScopedCache.has(rule)) {
rule.selector = scopeRule(rule.selector, options.className);
rulesScopedCache.add(rule);
}