mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-28 20:11:48 -04:00
When running `pnpm add -g .`, the linked-from path equals the cwd, so path.relative() returns an empty string which is falsy, causing the fallback to '???'. Use the absolute path as fallback instead. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>