🎨 Clean code

This commit is contained in:
Daniel 2024-10-25 22:18:50 +08:00
parent 29f744c7e0
commit f9a696aa14
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1430,7 +1430,6 @@ func fullTextSearchByFTSWithRoot(query, boxFilter, pathFilter, typeFilter, ignor
for j, block := range blocks {
if resultBlock.ID == block.ID {
resultBlocks[i] = block
// 减少 blocks
blocks = append(blocks[:j], blocks[j+1:]...)
break
}