ticketpro-auto-setup 1.1.2 → 1.1.3
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.
|
@@ -44,7 +44,7 @@ async function runCodeAbyss(target, spinner) {
|
|
|
44
44
|
const { npxCmd, npmCmd } = getPlatform();
|
|
45
45
|
// 方式 1: npx -y code-abyss --target <target>
|
|
46
46
|
spinner.text = `Installing code-abyss → ${target} (npx)...`;
|
|
47
|
-
const result = await spawnCodeAbyss(npxCmd, ['-y', 'code-abyss', '--target', target]);
|
|
47
|
+
const result = await spawnCodeAbyss(npxCmd, ['-y', 'code-abyss', '--target', target, '-y']);
|
|
48
48
|
if (result.success) {
|
|
49
49
|
spinner.succeed(`code-abyss installed → ${target}`);
|
|
50
50
|
return { name, success: true };
|
|
@@ -56,7 +56,7 @@ async function runCodeAbyss(target, spinner) {
|
|
|
56
56
|
});
|
|
57
57
|
if (installResult.success) {
|
|
58
58
|
spinner.text = `Running code-abyss → ${target} (global)...`;
|
|
59
|
-
const execResult = await spawnCodeAbyss('code-abyss', ['--target', target]);
|
|
59
|
+
const execResult = await spawnCodeAbyss('code-abyss', ['--target', target, '-y']);
|
|
60
60
|
if (execResult.success) {
|
|
61
61
|
spinner.succeed(`code-abyss installed → ${target} (global)`);
|
|
62
62
|
return { name, success: true };
|