test: invert logic
This commit is contained in:
parent
50f00f480f
commit
75d947de7f
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ export async function loadTSConfig(
|
||||||
['jsconfig.json', 'tsconfig.json'].map((configName) =>
|
['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
|
// `tsconfck` expects its first argument to be a file path, not a directory path, so we'll fake one
|
||||||
find(join(safeCwd, './dummy.txt'), {
|
find(join(safeCwd, './dummy.txt'), {
|
||||||
root: findUp ? root : undefined,
|
root: findUp ? undefined : root,
|
||||||
configName: configName,
|
configName: configName,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue