Merge pull request #37 from AikidoSec/pnpm-i-alias

Add coverage for pnpm i alias, fixes #36
This commit is contained in:
Sander Declerck 2025-09-10 10:14:53 +02:00 committed by GitHub
commit bd0f9118cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,6 +14,7 @@ export function createPnpmPackageManager() {
matchesCommand(args, "upgrade") ||
matchesCommand(args, "up") ||
matchesCommand(args, "install") ||
matchesCommand(args, "i") ||
// dlx does not always come in the first position
// eg: pnpm --package=yo --package=generator-webapp dlx yo webapp
// documentation: https://pnpm.io/cli/dlx#--package-name