From 82e4f2f51e6c08cedb618fa3ff84bb714537522c Mon Sep 17 00:00:00 2001 From: Ryan D McGuire Date: Fri, 8 Dec 2023 17:08:08 -0500 Subject: [PATCH] Fix circular reference --- cmd/util_fzf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/util_fzf.go b/cmd/util_fzf.go index 28a0d49..64ecd99 100644 --- a/cmd/util_fzf.go +++ b/cmd/util_fzf.go @@ -34,7 +34,7 @@ func fzfSearchProjectAliases(searchString string) *gitlab.Project { // Get fuzzy if we don't have an exact match aliases := cache.FuzzyFindAlias(searchString) if len(aliases) > 1 { - alias = fzfAliasFromAliases(aliasAddCmd.Context(), aliases) + alias = fzfAliasFromAliases(rootCmd.Context(), aliases) } else if len(aliases) == 1 { alias = aliases[0] }