From 55f8207d214650b9dc11371f0a5d7a5024be2bda Mon Sep 17 00:00:00 2001 From: Jesse Date: Wed, 17 Oct 2018 11:47:14 +0200 Subject: [PATCH] Fix apostrophe in error --- src/lib/substituteClassApplyAtRules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/substituteClassApplyAtRules.js b/src/lib/substituteClassApplyAtRules.js index 11b214e86..16bbec793 100644 --- a/src/lib/substituteClassApplyAtRules.js +++ b/src/lib/substituteClassApplyAtRules.js @@ -92,7 +92,7 @@ export default function(config, generatedUtilities) { ), () => { // prettier-ignore - throw onError(`\`@apply\` cannot be used with \`${classToApply}\` because \`${classToApply}\` either cannot be found, or it's actual definition includes a pseudo-selector like :hover, :active, etc. If you're sure that \`${classToApply}\` exists, make sure that any \`@import\` statements are being properly processed *before* Tailwind CSS sees your CSS, as \`@apply\` can only be used for classes in the same CSS tree.`) + throw onError(`\`@apply\` cannot be used with \`${classToApply}\` because \`${classToApply}\` either cannot be found, or its actual definition includes a pseudo-selector like :hover, :active, etc. If you're sure that \`${classToApply}\` exists, make sure that any \`@import\` statements are being properly processed *before* Tailwind CSS sees your CSS, as \`@apply\` can only be used for classes in the same CSS tree.`) }, ], (classDecls, candidate) => (!_.isEmpty(classDecls) ? classDecls : candidate()),