Skip to content

Commit

Permalink
Remove unused NewCLIPromptV2. (#48239)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joerger committed Nov 7, 2024
1 parent e4bdddf commit 51c9147
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion e
Submodule e updated from df73c4 to ad1203
6 changes: 0 additions & 6 deletions lib/client/mfa/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@ func NewCLIPrompt(cfg *CLIPromptConfig) *CLIPrompt {
}
}

// NewCLIPromptV2 returns a new CLI mfa prompt with the given config.
// TODO(Joerger): remove once /e is no longer dependent on this.
func NewCLIPromptV2(cfg *CLIPromptConfig) *CLIPrompt {
return NewCLIPrompt(cfg)
}

func (c *CLIPrompt) stdin() prompt.StdinReader {
if c.cfg.StdinFunc == nil {
return prompt.Stdin()
Expand Down

0 comments on commit 51c9147

Please # to comment.