提交 c73cc504 编写于 作者: A Andy Gocke 提交者: GitHub

Forgot to use special comparer in a few places (#15200)

上级 8ef2c10b
......@@ -74,7 +74,7 @@ private bool VerifyRepoConfig(TextWriter writer)
var packages = ProjectJsonUtil
.GetProjectJsonFiles(_sourcesPath)
.SelectMany(x => ProjectJsonUtil.GetDependencies(x));
var set = new HashSet<NuGetPackage>(packages);
var set = new HashSet<NuGetPackage>(packages, default(Constants.IgnoreGenerateNameComparer));
var allGood = true;
foreach (var fixedPackage in _repoConfig.FixedPackages)
......
......@@ -106,7 +106,7 @@ private bool VerifyRepoConfig(TextWriter writer)
var packages = ProjectJsonUtil
.GetProjectJsonFiles(_sourcesPath)
.SelectMany(x => ProjectJsonUtil.GetDependencies(x));
var set = new HashSet<NuGetPackage>(packages);
var set = new HashSet<NuGetPackage>(packages, default(Constants.IgnoreGenerateNameComparer));
var allGood = true;
foreach (var package in _repoConfig.FixedPackages)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册