Skip to content

Commit

Permalink
fix: don't use @latest tag with yarn, closes #62
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Jun 5, 2022
1 parent a58e6c6 commit 761d0ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/yarn-latest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-tauri-app": patch
---

Fix crash when using yarn because of using `@latest` tag.
2 changes: 1 addition & 1 deletion src/package-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class Yarn implements PackageManager {
[
'create',
this.ci ? '--non-interactive' : '',
`${createApp}@latest`,
createApp,
...args
],
{
Expand Down

0 comments on commit 761d0ac

Please sign in to comment.