Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenghaoz committed Feb 5, 2025
1 parent 8873999 commit b014348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gorse-in-one/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ var oneCommand = &cobra.Command{
conf.Database.CacheStore = "sqlite://cache.db"
conf.Recommend.DataSource.PositiveFeedbackTypes = []string{"star", "like"}
conf.Recommend.DataSource.ReadFeedbackTypes = []string{"read"}
if err := conf.Validate(true); err != nil {
if err := conf.Validate(); err != nil {
log.Logger().Fatal("invalid config", zap.Error(err))
}

Expand Down

0 comments on commit b014348

Please sign in to comment.