mirror of
https://github.com/hsjobeki/noogle.git
synced 2024-09-11 12:59:09 +03:00
fix: add github reference to actual line numbers in files
This commit is contained in:
parent
1e29e826c7
commit
128d5dad12
@ -31,6 +31,7 @@ const getRelevance = (matchesOn: (keyof DocItem)[]): number => {
|
||||
category: 3,
|
||||
example: 2,
|
||||
description: 1,
|
||||
line: 1,
|
||||
}
|
||||
return matchesOn.reduce((count,key)=>{
|
||||
return count + relevanceMap[key]
|
||||
|
Loading…
Reference in New Issue
Block a user