Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Pearl1594 committed Dec 6, 2024
1 parent 8df6018 commit fa2061b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cli/completer.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ func findAutocompleteAPI(arg *config.APIArg, apiFound *config.API, apiMap map[st
if arg.Type == "map" {
return nil
}
config.Debug("PEARL apiFound: ", apiFound)

var autocompleteAPI *config.API
argName := strings.Replace(arg.Name, "=", "", -1)
Expand Down Expand Up @@ -375,7 +374,6 @@ func (t *autoCompleter) Do(line []rune, pos int) (options [][]rune, offset int)
}

autocompleteAPI := findAutocompleteAPI(arg, apiFound, apiMap)
config.Debug("api: ", autocompleteAPI)
if autocompleteAPI == nil {
return nil, 0
}
Expand Down

0 comments on commit fa2061b

Please sign in to comment.