chati-dev 3.3.0 → 3.3.1
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/package.json
CHANGED
|
@@ -136,8 +136,7 @@ export function runTests(projectDir, options = {}) {
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
const start = Date.now();
|
|
139
|
-
let rawOutput
|
|
140
|
-
let exitCode = 0;
|
|
139
|
+
let rawOutput, exitCode;
|
|
141
140
|
|
|
142
141
|
try {
|
|
143
142
|
rawOutput = execSync(command, {
|
|
@@ -146,6 +145,7 @@ export function runTests(projectDir, options = {}) {
|
|
|
146
145
|
timeout,
|
|
147
146
|
stdio: ['pipe', 'pipe', 'pipe'],
|
|
148
147
|
});
|
|
148
|
+
exitCode = 0;
|
|
149
149
|
} catch (err) {
|
|
150
150
|
exitCode = err.status || 1;
|
|
151
151
|
rawOutput = (err.stdout || '') + (err.stderr || '');
|
|
@@ -208,8 +208,7 @@ export function runLint(projectDir, options = {}) {
|
|
|
208
208
|
return { success: true, errors: 0, warnings: 0, rawOutput: 'No lint command detected' };
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
let rawOutput
|
|
212
|
-
let exitCode = 0;
|
|
211
|
+
let rawOutput, exitCode;
|
|
213
212
|
|
|
214
213
|
try {
|
|
215
214
|
rawOutput = execSync(command, {
|
|
@@ -218,6 +217,7 @@ export function runLint(projectDir, options = {}) {
|
|
|
218
217
|
timeout,
|
|
219
218
|
stdio: ['pipe', 'pipe', 'pipe'],
|
|
220
219
|
});
|
|
220
|
+
exitCode = 0;
|
|
221
221
|
} catch (err) {
|
|
222
222
|
exitCode = err.status || 1;
|
|
223
223
|
rawOutput = (err.stdout || '') + (err.stderr || '');
|
package/src/wizard/questions.js
CHANGED
|
@@ -80,7 +80,7 @@ export async function stepProviderSelection() {
|
|
|
80
80
|
|
|
81
81
|
for (const [key, config] of cliIDEs) {
|
|
82
82
|
const provider = IDE_TO_PROVIDER[key];
|
|
83
|
-
let installed
|
|
83
|
+
let installed;
|
|
84
84
|
try {
|
|
85
85
|
installed = provider ? await isProviderAvailable(provider) : false;
|
|
86
86
|
} catch {
|
|
@@ -96,7 +96,7 @@ export async function stepProviderSelection() {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
const selected = await p.multiselect({
|
|
99
|
-
message: t('installer.provider_selection_title'),
|
|
99
|
+
message: `${t('installer.provider_selection_title')} ${dim('(space to select, enter to confirm)')}`,
|
|
100
100
|
options,
|
|
101
101
|
required: true,
|
|
102
102
|
});
|
|
@@ -127,7 +127,7 @@ export async function stepEditorSelection() {
|
|
|
127
127
|
}));
|
|
128
128
|
|
|
129
129
|
const selected = await p.multiselect({
|
|
130
|
-
message: t('installer.editor_selection_title'),
|
|
130
|
+
message: `${t('installer.editor_selection_title')} ${dim('(space to select, enter to confirm)')}`,
|
|
131
131
|
options,
|
|
132
132
|
required: false,
|
|
133
133
|
});
|
|
@@ -187,7 +187,7 @@ export async function stepIDESelection() {
|
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
const selectedIDEs = await p.multiselect({
|
|
190
|
-
message: t('installer.ide_selection_title'),
|
|
190
|
+
message: `${t('installer.ide_selection_title')} ${dim('(space to select, enter to confirm)')}`,
|
|
191
191
|
options,
|
|
192
192
|
required: true,
|
|
193
193
|
});
|
|
@@ -308,7 +308,7 @@ export async function stepTelemetryConsent() {
|
|
|
308
308
|
|
|
309
309
|
const consent = await p.confirm({
|
|
310
310
|
message: t('installer.telemetry_consent'),
|
|
311
|
-
initialValue:
|
|
311
|
+
initialValue: true,
|
|
312
312
|
});
|
|
313
313
|
|
|
314
314
|
if (p.isCancel(consent)) return false;
|