Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed May 5, 2020
1 parent 93cdddd commit 9d6e8bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/substituteVariantsAtRules.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ export default function(config, { variantGenerators: pluginVariantGenerators })

_.forEach(_.without(ensureIncludesDefault(variants), 'responsive'), variant => {
if (!variantGenerators[variant]) {
throw new Error(`Your config mentions the "${variant}" variant, but "${variant}" doesn't appear to be a variant. Did you forget or misconfigure a plugin that supplies that variant?`);
throw new Error(
`Your config mentions the "${variant}" variant, but "${variant}" doesn't appear to be a variant. Did you forget or misconfigure a plugin that supplies that variant?`
)
}
variantGenerators[variant](atRule, config)
})
Expand Down

0 comments on commit 9d6e8bc

Please sign in to comment.