Skip to content

Commit

Permalink
Fix create-astro regression (#7086)
Browse files Browse the repository at this point in the history
  • Loading branch information
MoustaphaDev committed May 14, 2023
1 parent 8d09a14 commit c5f1275
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/nice-shrimps-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-astro': patch
---

Fix create astro regression
9 changes: 0 additions & 9 deletions packages/create-astro/src/actions/dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@ export async function dependencies(
start: `Dependencies installing with ${ctx.pkgManager}...`,
end: 'Dependencies installed',
while: () => {
return Promise.reject('Unknown error').catch((e) => {
error('error', e);
error(
'error',
`Dependencies failed to install, please run ${color.bold(
ctx.pkgManager + ' install'
)} to install them manually after setup.`
);
});
return install({ pkgManager: ctx.pkgManager, cwd: ctx.cwd }).catch((e) => {
error('error', e);
error(
Expand Down

0 comments on commit c5f1275

Please sign in to comment.