Skip to content

Commit

Permalink
fix(lint): ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Dec 17, 2024
1 parent 0b385d6 commit 3cceeaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/backend/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func Speech(c echo.Context) mo.Result[any] {

backendAndModel := lo.Ternary(
strings.Contains(options.Model, ":"),
//nolint:mnd
strings.SplitN(options.Model, ":", 2),
[]string{options.Model, ""},
)
Expand Down

0 comments on commit 3cceeaf

Please sign in to comment.