提交 aafa06ee 编写于 作者: B Benjamin Pasero

scorer - fix issue with prefix scoring

上级 eb17ea78
......@@ -653,7 +653,7 @@ export function score(target: string, query: string): number {
}
// Prefix Bonus
if (indexOf === index) {
if (indexOf === 0) {
score += 8;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册