@farm.js/create-app 0.1.26 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -3616,8 +3616,7 @@ function detectPackageManager(userAgent = process.env.npm_config_user_agent) {
3616
3616
  function installDependencies(projectPath, packageManager) {
3617
3617
  return new Promise((resolve, reject) => {
3618
3618
  const isWindows = process.platform === "win32";
3619
- const command = isWindows ? `${packageManager.name}.cmd` : packageManager.name;
3620
- const child = spawn(command, ["install"], {
3619
+ const child = spawn(packageManager.name, ["install"], {
3621
3620
  cwd: projectPath,
3622
3621
  env: process.env,
3623
3622
  stdio: "inherit",