Skip to content

Commit 61ba700

Browse files
authored
Update packages/cloudflare/src/cli/utils/run-wrangler.ts
1 parent cb7319f commit 61ba700

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/cloudflare/src/cli/utils/run-wrangler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ function isYarnModern(options: BuildOptions) {
2828

2929
if (!packageJson.packageManager?.startsWith("yarn")) return false;
3030

31+
const [, version] = packageJson.packageManager.split("@");
3132
return version ? compareSemver(version, ">=", "4.0.0") : false;
3233
}
3334

0 commit comments

Comments
 (0)