Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
npm.isCollaborator()
on npm v9 (#966)
With v9.0.0 release [npm][] has changed the CLI commands for package access. While previously it was `npm access ls-collaborators` and the output was a JSON object, now it is `npm access list collaborators` and the output is plain text unless `--json` flag is provided. This commit adds support for npm v9.0.0 while keeping support for older npm versions. [npm]: npm/cli@9c32c6c
- Loading branch information
Showing
1 changed file
with
29 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters