Skip to content

Commit 975bc56

Browse files
committed
fix check
1 parent 2092bdf commit 975bc56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@tailwindcss-node/src/compile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async function ensureSourceDetectionRootExists(compiler: {
8383
.then((stat) => stat.isDirectory())
8484
.catch(() => false)
8585

86-
if (exists) {
86+
if (!exists) {
8787
throw new Error(
8888
`The \`source(${compiler.root.pattern})\` does not exist or is not a directory.`,
8989
)

0 commit comments

Comments
 (0)