Skip to content

Commit

Permalink
Check if folder exist in NugetPackageToLocalReferenceConverter
Browse files Browse the repository at this point in the history
  • Loading branch information
yekalkan committed Nov 12, 2024
1 parent 21afbc2 commit 238c2ce
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ public List<NugetPackageInfoWithModuleName> GetNugetPackages(ModuleWithMastersIn

private static string[] GetProjectFilesUnder(string path)
{
if (!Directory.Exists(path))
{
return [];
}

return Directory.GetFiles(path,
"*.csproj",
SearchOption.AllDirectories);
Expand Down

0 comments on commit 238c2ce

Please sign in to comment.