Skip to content

Commit

Permalink
Fix explicit root workspace dir in pnpm-workspace.yaml (fixes #284)
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Oct 6, 2023
1 parent 2d32eb1 commit 3bf5ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConfigurationChief.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export class ConfigurationChief {

const manifestWorkspaces = new Map();
for (const [pkgName, dir] of workspaces.entries()) {
manifestWorkspaces.set(relative(this.cwd, dir), pkgName);
manifestWorkspaces.set(relative(this.cwd, dir) || ROOT_WORKSPACE_NAME, pkgName);
}
return manifestWorkspaces;
}
Expand Down

0 comments on commit 3bf5ad6

Please sign in to comment.