We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1795b30 commit 57dfd6aCopy full SHA for 57dfd6a
1 file changed
packages/cli/src/utils/editor.ts
@@ -184,10 +184,7 @@ export async function selectEditor({
184
};
185
const selectedEditor = await prompts.select({
186
message: 'Which editor are you using?',
187
- options:
188
- editorOptions.length > 0
189
- ? [editorOptions[0], noneOption, ...editorOptions.slice(1)]
190
- : [noneOption],
+ options: [...editorOptions, noneOption],
191
initialValue: 'vscode',
192
});
193
0 commit comments