multi-agents-cli 1.1.8 → 1.1.9
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/lib/questions-flow.js +1 -5
- package/package.json +1 -1
package/lib/questions-flow.js
CHANGED
|
@@ -188,11 +188,7 @@ const buildStepDefs = (IDE_CANDIDATES) => [
|
|
|
188
188
|
const detectedIDEs = ideOptions.filter(o => o.detected);
|
|
189
189
|
const undetectedIDEs = ideOptions.filter(o => !o.detected && o.cmd);
|
|
190
190
|
const manualOption = ideOptions.filter(o => !o.cmd);
|
|
191
|
-
const sorted = [
|
|
192
|
-
...detectedIDEs,
|
|
193
|
-
...undetectedIDEs.map(o => ({ ...o, disabled: true })),
|
|
194
|
-
...manualOption,
|
|
195
|
-
];
|
|
191
|
+
const sorted = [...detectedIDEs, ...manualOption];
|
|
196
192
|
|
|
197
193
|
if (detectedIDEs.length > 1) console.log(`\n ${'\x1b[33m'}Multiple IDEs found${'\x1b[0m'} - select your preference:\n`);
|
|
198
194
|
else if (detectedIDEs.length === 1) console.log(`\n ${'\x1b[32m'}1 IDE found:${'\x1b[0m'} ${bold(detectedIDEs[0].name)}\n`);
|
package/package.json
CHANGED