If configured a global agent in `~/.nirc` and run `ni -g` inside a workspace, the global agent became `npm`.
so1ve opened this issue · comments
Ray commented
Describe the bug
If configured a global agent in ~/.nirc
and run ni -g
inside a workspace, the global agent became npm
.
Reproduction
https://github.com/antfu/ni is enough to reproduce
System Info
N/A
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.