We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2381052 commit fe8003dCopy full SHA for fe8003d
packages/knip/src/ConfigurationChief.ts
@@ -287,15 +287,6 @@ export class ConfigurationChief {
287
);
288
}
289
290
- private getAvailableWorkspacePkgNames(pkgNames: Iterable<string>) {
291
- const names = new Set<string>();
292
- for (const pkgName of pkgNames) {
293
- if (names.has(pkgName)) throw new ConfigurationError(`Duplicate package name: ${pkgName}`);
294
- if (!picomatch.isMatch(pkgName, this.ignoredWorkspacePatterns)) names.add(pkgName);
295
- }
296
- return names;
297
298
-
299
private setIncludedWorkspaces() {
300
if (this.workspace) {
301
const dir = resolve(this.workspace);
0 commit comments