feat: add oxlint with correctness defaults (#22682)

This commit is contained in:
Kit Langton 2026-04-15 20:45:19 -04:00 • committed by GitHub
commit 3d6f90cb53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,12 +40,10 @@ async function handlePluginAuth(plugin: { auth: PluginAuth }, provider: string,
} else if (plugin.auth.methods.length > 1) {
const method = await prompts.select({
message: "Login method",
options: [
...plugin.auth.methods.map((x, index) => ({
options: plugin.auth.methods.map((x, index) => ({
label: x.label,
value: index.toString(),
})),
],
})
if (prompts.isCancel(method)) throw new UI.CancelledError()
index = parseInt(method)