gpt: remove a colon

This commit is contained in:
Chris Sexton 2023-03-03 15:04:06 -05:00
parent 8b8ac7b244
commit 7d5cf3909d
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ func (p *GPTPlugin) setDefaultPrompt() error {
}
func (p *GPTPlugin) setPrompt(prompt string) error {
client, err := p.getClient()
var err error
client, err = p.getClient()
if err != nil {
return err
}