fix(ctx): panic: index out of range when only one context in uncloud config (closes #52)

This commit is contained in:
Pavel Sviderski
2025-05-01 14:01:29 +10:00
parent 7861d56dff
commit 6068e24f4f
-1
View File
@@ -78,6 +78,5 @@ func buildContextOptions(contexts []string, current string) []huh.Option[string]
options[i] = opt
}
options[1].Selected(true)
return options
}