@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.js CHANGED
@@ -3623,8 +3623,7 @@ function detectPackageManager(userAgent = process.env.npm_config_user_agent) {
3623
3623
  function installDependencies(projectPath, packageManager) {
3624
3624
  return new Promise((resolve, reject) => {
3625
3625
  const isWindows = process.platform === "win32";
3626
- const command = isWindows ? `${packageManager.name}.cmd` : packageManager.name;
3627
- const child = (0, node_child_process.spawn)(command, ["install"], {
3626
+ const child = (0, node_child_process.spawn)(packageManager.name, ["install"], {
3628
3627
  cwd: projectPath,
3629
3628
  env: process.env,
3630
3629
  stdio: "inherit",