Fix style

This commit is contained in:
Adam Wathan 2020-05-05 07:47:57 -04:00
parent 93cddddaa0
commit 9d6e8bc8b3

View File

@ -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)
})