Fix circular reference
This commit is contained in:
parent
f40079cb7f
commit
82e4f2f51e
@ -34,7 +34,7 @@ func fzfSearchProjectAliases(searchString string) *gitlab.Project {
|
|||||||
// Get fuzzy if we don't have an exact match
|
// Get fuzzy if we don't have an exact match
|
||||||
aliases := cache.FuzzyFindAlias(searchString)
|
aliases := cache.FuzzyFindAlias(searchString)
|
||||||
if len(aliases) > 1 {
|
if len(aliases) > 1 {
|
||||||
alias = fzfAliasFromAliases(aliasAddCmd.Context(), aliases)
|
alias = fzfAliasFromAliases(rootCmd.Context(), aliases)
|
||||||
} else if len(aliases) == 1 {
|
} else if len(aliases) == 1 {
|
||||||
alias = aliases[0]
|
alias = aliases[0]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user