From 2b9df564b858a9216ffb7881278f485b35946349 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 23 Feb 2022 21:16:07 +0100 Subject: Lock gofumpt to v0.3.0 and run it (#18866) We can't depend on `latest` version of gofumpt because the output will not be stable across versions. Lock it down to the latest version released yesterday and run it again. --- modules/indexer/code/bleve.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/indexer/code') diff --git a/modules/indexer/code/bleve.go b/modules/indexer/code/bleve.go index 281c14c11e..309b33bedf 100644 --- a/modules/indexer/code/bleve.go +++ b/modules/indexer/code/bleve.go @@ -182,7 +182,8 @@ func NewBleveIndexer(indexDir string) (*BleveIndexer, bool, error) { } func (b *BleveIndexer) addUpdate(ctx context.Context, batchWriter git.WriteCloserError, batchReader *bufio.Reader, commitSha string, - update fileUpdate, repo *repo_model.Repository, batch *gitea_bleve.FlushingBatch) error { + update fileUpdate, repo *repo_model.Repository, batch *gitea_bleve.FlushingBatch, +) error { // Ignore vendored files in code search if setting.Indexer.ExcludeVendored && analyze.IsVendor(update.Filename) { return nil -- cgit v1.2.3