yg-team-cli 2.3.9 → 2.3.10

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/cli.js CHANGED
@@ -2326,10 +2326,14 @@ var init_init = __esm({
2326
2326
  prompt,
2327
2327
  "--add-dir",
2328
2328
  projectPath,
2329
- "--dangerously-skip-permissions"
2329
+ "--dangerously-skip-permissions",
2330
+ "--output-format",
2331
+ "text"
2330
2332
  ], {
2331
2333
  stdio: "inherit",
2332
- timeout: 6e5
2334
+ timeout: 6e5,
2335
+ env: { ...process.env, FORCE_COLOR: "1" }
2336
+ // 保持颜色输出
2333
2337
  });
2334
2338
  logger.success(`[${module.name}] \u4EE3\u7801\u751F\u6210\u5B8C\u6210`);
2335
2339
  } catch (err) {