fix(audit): allow using --registry option

close #2689
This commit is contained in:
Zoltan Kochan
2020-07-22 22:35:49 +03:00
parent a016266688
commit 4e5e22aabb
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"@pnpm/plugin-commands-audit": patch
---
Allow to set a custom registry through the `--registry` option, when running `pnpm audit` (#2689).

View File

@@ -36,6 +36,7 @@ export function cliOptionsTypes () {
'only',
'optional',
'production',
'registry',
], allTypes),
'audit-level': ['low', 'moderate', 'high', 'critical'],
}