Skip to content

Commit df6cb6e

Browse files
committed
Merge branch 'merge/release/2.1-to-release/2.2' of github.com:dotnet-maestro-bot/Common into merge/release/2.1-to-release/2.2
2 parents 45e9982 + 7aff1be commit df6cb6e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/TestingUtils/Microsoft.AspNetCore.Analyzer.Testing/src/DiagnosticVerifier.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,18 +195,17 @@ public bool TryResolveAssemblyPaths(CompilationLibrary library, List<string> ass
195195
if (File.Exists(dll))
196196
{
197197
assemblies.Add(dll);
198-
return true;
198+
continue;
199199
}
200200

201201
dll = Path.Combine(Directory.GetCurrentDirectory(), Path.GetFileName(assembly));
202202
if (File.Exists(dll))
203203
{
204204
assemblies.Add(dll);
205-
return true;
206205
}
207206
}
208207

209-
return false;
208+
return assemblies.Count > 0;
210209
}
211210
}
212211
}

0 commit comments

Comments
 (0)