Skip to content

Commit 761d0ac

Browse files
committed
fix: don't use @latest tag with yarn, closes #62
1 parent a58e6c6 commit 761d0ac

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changes/yarn-latest.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-tauri-app": patch
3+
---
4+
5+
Fix crash when using yarn because of using `@latest` tag.

src/package-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export class Yarn implements PackageManager {
166166
[
167167
'create',
168168
this.ci ? '--non-interactive' : '',
169-
`${createApp}@latest`,
169+
createApp,
170170
...args
171171
],
172172
{

0 commit comments

Comments
 (0)