mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
fix: pnpm install command on astro add (#5087)
This commit is contained in:
parent
f49d80d637
commit
49a8d18b49
2 changed files with 6 additions and 1 deletions
5
.changeset/tender-lemons-remain.md
Normal file
5
.changeset/tender-lemons-remain.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fix `astro add` pnpm command
|
|
@ -573,7 +573,7 @@ async function getInstallIntegrationsCommand({
|
|||
case 'yarn':
|
||||
return { pm: 'yarn', command: 'add', flags: [], dependencies };
|
||||
case 'pnpm':
|
||||
return { pm: 'pnpm', command: 'install', flags: [], dependencies };
|
||||
return { pm: 'pnpm', command: 'add', flags: [], dependencies };
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue