mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Merge branch 'master' of https://github.com/github/atom
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = (candidates, query, options={}) ->
|
||||
|
||||
# Basename matches count for more.
|
||||
unless /\//.test(query)
|
||||
score += stringScore(candidate.replace(/^.*\//,''), query)
|
||||
score += stringScore(string.replace(/^.*\//,''), query)
|
||||
|
||||
{ candidate, score }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user