mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
fix(ctx): panic: index out of range when only one context in uncloud config (closes #52)
This commit is contained in:
@@ -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