create-message-kit 1.1.7-beta.25 → 1.1.7-beta.26
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -20,8 +20,8 @@ program
|
|
20
20
|
.description("CLI to initialize projects")
|
21
21
|
.action(async () => {
|
22
22
|
// Add Yarn 4 check at the start of the action
|
23
|
-
const pkgManager = detectPackageManager();
|
24
|
-
|
23
|
+
const pkgManager = await detectPackageManager();
|
24
|
+
|
25
25
|
if (pkgManager.startsWith("yarn@4")) {
|
26
26
|
log.error("Yarn 4 is not supported. Please use bun, npm, or yarn v1");
|
27
27
|
process.exit(1);
|