antfu-collective / ni

💡 Use the right package manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If configured a global agent in `~/.nirc` and run `ni -g` inside a workspace, the global agent became `npm`.

so1ve opened this issue · comments

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.
commented

An older report: #183