Skip to content

Commit

Permalink
Only check inexact match when no exact match is found. (dotnet#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyjdelete authored Aug 7, 2020
1 parent cc9ddb5 commit dbbcde8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ internal DataRow FindMetaDataCollectionRow(string collectionName)
exactCollectionName = candidateCollectionName;
haveExactMatch = true;
}
else
else if (haveExactMatch == false)
{
// have an inexact match - ok only if it is the only one
if (exactCollectionName != null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ internal DataRow FindMetaDataCollectionRow(string collectionName)
exactCollectionName = candidateCollectionName;
haveExactMatch = true;
}
else
else if (haveExactMatch == false)
{
// have an inexact match - ok only if it is the only one
if (exactCollectionName != null)
Expand Down

0 comments on commit dbbcde8

Please sign in to comment.