Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #297 from atom/as-fix-alternate-scoring
Browse files Browse the repository at this point in the history
Show matches correctly when `useAlternateScoring` is true
  • Loading branch information
Antonio Scandurra authored May 22, 2017
2 parents e69a9e2 + cf40851 commit d57e38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fuzzy-finder-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default class FuzzyFinderView {
},
elementForItem: ({filePath, projectRelativePath}) => {
const filterQuery = this.selectListView.getFilterQuery()
const matches = this.alternateScoring ?
const matches = this.useAlternateScoring ?
fuzzaldrinPlus.match(projectRelativePath, filterQuery) :
fuzzaldrin.match(projectRelativePath, filterQuery)

Expand Down

0 comments on commit d57e38e

Please sign in to comment.