We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3485d67 commit 707c96dCopy full SHA for 707c96d
packages/knip/src/graph/build.ts
@@ -288,7 +288,7 @@ export async function build({
288
289
principal.addEntryPaths(userEntryPaths);
290
291
- if (options.isUseTscFiles) {
+ if (options.isUseTscFiles && isFile) {
292
const isIgnoredWorkspace = chief.createIgnoredWorkspaceMatcher(name, dir);
293
debugLogArray(name, 'Using tsconfig files as project files', tscSourcePaths);
294
for (const filePath of tscSourcePaths) {
0 commit comments