Skip to content

Commit

Permalink
Rename NOT_FOUND to KNIP_ADDED workspace names
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Jun 17, 2024
1 parent a2ec607 commit 3a41f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/knip/src/ConfigurationChief.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ export class ConfigurationChief {
.sort(byPathDepth)
.map((name): Workspace => {
const dir = join(this.cwd, name);
const pkgName = this.workspacePackages.get(name)?.pkgName ?? `NOT_FOUND_${name}`;
const pkgName = this.workspacePackages.get(name)?.pkgName ?? `KNIP_ADDED_${name}`;
const workspaceConfig = this.getWorkspaceConfig(name);
const ignoreMembers = arrayify(workspaceConfig.ignoreMembers).map(toRegexOrString);
return {
Expand Down

0 comments on commit 3a41f8e

Please sign in to comment.