Skip to content

Commit 8d1d053

Browse files
committed
linter
Signed-off-by: Grant Linville <[email protected]>
1 parent 354587a commit 8d1d053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gptscript.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ func (g *GPTScript) ListCredentials(ctx context.Context, opts ListCredentialsOpt
317317
req := CredentialRequest{}
318318
if opts.allContexts {
319319
req.AllContexts = true
320-
} else if opts.credCtxs != nil && len(opts.credCtxs) > 0 {
320+
} else if len(opts.credCtxs) > 0 {
321321
req.Context = opts.credCtxs
322322
} else {
323323
req.Context = []string{"default"}

0 commit comments

Comments
 (0)