1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-06 02:27:20 +00:00

update go&js dependencies (#34262)

This commit is contained in:
wxiaoguang
2025-04-24 05:22:40 +08:00
committed by GitHub
parent b758241f28
commit 58d2a87c6c
8 changed files with 513 additions and 478 deletions

View File

@ -97,5 +97,9 @@ func generatePathTokens(input analysis.TokenStream, reversed bool) analysis.Toke
}
func init() {
registry.RegisterTokenFilter(Name, TokenFilterConstructor)
// FIXME: move it to the bleve's init function, but do not call it in global init
err := registry.RegisterTokenFilter(Name, TokenFilterConstructor)
if err != nil {
panic(err)
}
}