mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 21:29:02 +00:00
fix(ctx): panic: index out of range when only one context in uncloud config (closes #52)
This commit is contained in:
1 parent
7861d56dff
commit
6068e24f4f
1 file changed
-1
@@ -78,6 +78,5 @@ func buildContextOptions(contexts []string, current string) []huh.Option[string]
|
||||
options[i] = opt
|
||||
}
|
||||
|
||||
options[1].Selected(true)
|
||||
return options
|
||||
}
|
||||
Reference in new issue
Block a user