From 75d947de7fbc138e10b5a135e3edd212ac94c9fe Mon Sep 17 00:00:00 2001 From: Princesseuh Date: Tue, 10 Oct 2023 19:34:18 +0200 Subject: [PATCH] test: invert logic --- packages/astro/src/core/config/tsconfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/src/core/config/tsconfig.ts b/packages/astro/src/core/config/tsconfig.ts index debb0a3ff..db4b1392f 100644 --- a/packages/astro/src/core/config/tsconfig.ts +++ b/packages/astro/src/core/config/tsconfig.ts @@ -71,7 +71,7 @@ export async function loadTSConfig( ['jsconfig.json', 'tsconfig.json'].map((configName) => // `tsconfck` expects its first argument to be a file path, not a directory path, so we'll fake one find(join(safeCwd, './dummy.txt'), { - root: findUp ? root : undefined, + root: findUp ? undefined : root, configName: configName, }) )