create-message-kit 1.1.7-beta.24 → 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 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -20,7 +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();
|
23
|
+
const pkgManager = await detectPackageManager();
|
24
|
+
|
24
25
|
if (pkgManager.startsWith("yarn@4")) {
|
25
26
|
log.error("Yarn 4 is not supported. Please use bun, npm, or yarn v1");
|
26
27
|
process.exit(1);
|